Comment fixes.
[dcpomatic.git] / test / pixel_formats_test.cc
index fb2278fdbba39e8125bd43955a928fa3763a015e..1b720d9bf5d3b88fe2ecf1f2399c1c9209674bdc 100644 (file)
 
 */
 
+#include <boost/test/unit_test.hpp>
+#include <list>
+extern "C" {
+#include <libavutil/pixfmt.h>
+#include <libavcodec/avcodec.h>
+}
+#include "lib/image.h"
+
 using std::list;
 using std::cout;
 
@@ -63,7 +71,7 @@ BOOST_AUTO_TEST_CASE (pixel_formats_test)
                f->height = 480;
                f->format = static_cast<int> (i->format);
                av_frame_get_buffer (f, true);
-               SimpleImage t (f);
+               Image t (f);
                BOOST_CHECK_EQUAL(t.components(), i->components);
                BOOST_CHECK_EQUAL(t.lines(0), i->lines[0]);
                BOOST_CHECK_EQUAL(t.lines(1), i->lines[1]);