X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fpixel_formats_test.cc;h=12a95bd6939b11d751edc6dd8c4e565a0f05d3bf;hb=8aec035b6ec6d8a119aef8748d571a65c3de386b;hp=f59c594e9705f07ab1c405ad2bfd4b10118bcd3b;hpb=39fb8198febde1937019db1c300ec363aab5aa56;p=dcpomatic.git diff --git a/test/pixel_formats_test.cc b/test/pixel_formats_test.cc index f59c594e9..12a95bd69 100644 --- a/test/pixel_formats_test.cc +++ b/test/pixel_formats_test.cc @@ -88,7 +88,7 @@ BOOST_AUTO_TEST_CASE (pixel_formats_test) f->height = 480; f->format = static_cast (i.format); av_frame_get_buffer (f, true); - Image t (f); + Image t (f, Image::Alignment::COMPACT); BOOST_CHECK_EQUAL(t.planes(), i.planes); BOOST_CHECK_EQUAL(t.sample_size(0).height, i.lines[0]); BOOST_CHECK_EQUAL(t.sample_size(1).height, i.lines[1]);