X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fpixel_formats_test.cc;fp=test%2Fpixel_formats_test.cc;h=fb2278fdbba39e8125bd43955a928fa3763a015e;hb=90933dc804de225df47897ddd3a19c5a60ec67e0;hp=08c9f2d2def524e250692d67be7bcdc498ba5d35;hpb=f49d66270bff2577d39474a0c1c18a7a1b1f14f6;p=dcpomatic.git 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 (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]);