summaryrefslogtreecommitdiff
path: root/test/pixel_formats_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-27 23:17:34 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-27 23:17:34 +0100
commit90933dc804de225df47897ddd3a19c5a60ec67e0 (patch)
tree4ab78073ea1899b7bd7934b7c592e5f8e01c7c87 /test/pixel_formats_test.cc
parentf49d66270bff2577d39474a0c1c18a7a1b1f14f6 (diff)
Fix some DCP generation bugs and update some tests.
Diffstat (limited to 'test/pixel_formats_test.cc')
-rw-r--r--test/pixel_formats_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/pixel_formats_test.cc b/test/pixel_formats_test.cc
index 08c9f2d2d..fb2278fdb 100644
--- a/test/pixel_formats_test.cc
+++ b/test/pixel_formats_test.cc
@@ -62,6 +62,7 @@ BOOST_AUTO_TEST_CASE (pixel_formats_test)
f->width = 640;
f->height = 480;
f->format = static_cast<int> (i->format);
+ av_frame_get_buffer (f, true);
SimpleImage t (f);
BOOST_CHECK_EQUAL(t.components(), i->components);
BOOST_CHECK_EQUAL(t.lines(0), i->lines[0]);