From 3799e91d126d243d41c44dcb0ca1bfa66b53a57e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 15 Sep 2021 23:36:21 +0200 Subject: Replace aligned bool with enum Alignment. --- test/test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test.cc') diff --git a/test/test.cc b/test/test.cc index 3395d9672..8417b30d2 100644 --- a/test/test.cc +++ b/test/test.cc @@ -364,9 +364,9 @@ double rms_error (boost::filesystem::path ref, boost::filesystem::path check) { FFmpegImageProxy ref_proxy (ref); - auto ref_image = ref_proxy.image(false).image; + auto ref_image = ref_proxy.image(Image::Alignment::COMPACT).image; FFmpegImageProxy check_proxy (check); - auto check_image = check_proxy.image(false).image; + auto check_image = check_proxy.image(Image::Alignment::COMPACT).image; BOOST_REQUIRE_EQUAL (ref_image->pixel_format(), check_image->pixel_format()); AVPixelFormat const format = ref_image->pixel_format(); -- cgit v1.2.3