-/*\r
-* copyright (c) 2010 Sveriges Television AB <info@casparcg.com>\r
-*\r
-* This file is part of CasparCG.\r
-*\r
-* CasparCG is free software: you can redistribute it and/or modify\r
-* it under the terms of the GNU General Public License as published by\r
-* the Free Software Foundation, either version 3 of the License, or\r
-* (at your option) any later version.\r
-*\r
-* CasparCG is distributed in the hope that it will be useful,\r
-* but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
-* GNU General Public License for more details.\r
-\r
-* You should have received a copy of the GNU General Public License\r
-* along with CasparCG. If not, see <http://www.gnu.org/licenses/>.\r
-*\r
-*/\r
-#pragma once\r
-\r
-#include <common/memory/safe_ptr.h>\r
-\r
-#include <boost/noncopyable.hpp>\r
-#include <boost/range/iterator_range.hpp>\r
-\r
-namespace caspar { namespace core {\r
- \r
-class read_frame : boost::noncopyable\r
-{\r
-public:\r
- virtual const boost::iterator_range<const unsigned char*> image_data() const = 0;\r
- virtual const boost::iterator_range<const short*> audio_data() const = 0;\r
-\r
- static safe_ptr<const read_frame> empty()\r
- {\r
- struct empty : public read_frame\r
- { \r
- virtual const boost::iterator_range<const unsigned char*> image_data() const {return boost::iterator_range<const unsigned char*>();}\r
- virtual const boost::iterator_range<const short*> audio_data() const {return boost::iterator_range<const short*>();}\r
- };\r
- static safe_ptr<const empty> frame;\r
- return frame;\r
- }\r
-};\r
-\r
+/*
+* copyright (c) 2010 Sveriges Television AB <info@casparcg.com>
+*
+* This file is part of CasparCG.
+*
+* CasparCG is free software: you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation, either version 3 of the License, or
+* (at your option) any later version.
+*
+* CasparCG is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+
+* You should have received a copy of the GNU General Public License
+* along with CasparCG. If not, see <http://www.gnu.org/licenses/>.
+*
+*/
+#pragma once
+
+#include <common/memory/safe_ptr.h>
+
+#include <boost/noncopyable.hpp>
+#include <boost/range/iterator_range.hpp>
+
+namespace caspar { namespace core {
+
+class read_frame : boost::noncopyable
+{
+public:
+ virtual const boost::iterator_range<const unsigned char*> image_data() const = 0;
+ virtual const boost::iterator_range<const short*> audio_data() const = 0;
+
+ static safe_ptr<const read_frame> empty()
+ {
+ struct empty : public read_frame
+ {
+ virtual const boost::iterator_range<const unsigned char*> image_data() const {return boost::iterator_range<const unsigned char*>();}
+ virtual const boost::iterator_range<const short*> audio_data() const {return boost::iterator_range<const short*>();}
+ };
+ static safe_ptr<const empty> frame;
+ return frame;
+ }
+};
+
}}
\ No newline at end of file