summaryrefslogtreecommitdiff
path: root/test/pixel_formats_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-06-06 21:39:15 +0100
committerCarl Hetherington <cth@carlh.net>2013-06-06 21:39:15 +0100
commit10c5866265db6830a67748ea3e5567ceef94951b (patch)
treef7becf1800723ffdad75fe40cc58bdaed8b3baf8 /test/pixel_formats_test.cc
parent71266e2361c255785c1b70e9d030c3156519c781 (diff)
parent0dde88a4b531cd3a3020d0a9a1849b4114c13939 (diff)
Merge branch 'master' of ssh://192.168.1.201/home/carl/git/dvdomatic
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 84f2a33ce..b788b3219 100644
--- a/test/pixel_formats_test.cc
+++ b/test/pixel_formats_test.cc
@@ -65,6 +65,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]);