X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=test%2Ftest.cc;h=89ee7f619728f0391fa78f2fcbf716e2174b72d8;hp=4ea709c81912f08d7fdeb4311fc3609314c731a0;hb=d311043bf3c1e3e7f41b314f7ab7c91ed7e5aa7f;hpb=8c39f950ec8f8b3cf4d258279ab499d7e71dafc8 diff --git a/test/test.cc b/test/test.cc index 4ea709c81..89ee7f619 100644 --- a/test/test.cc +++ b/test/test.cc @@ -369,7 +369,7 @@ rms_error (boost::filesystem::path ref, boost::filesystem::path check) 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(); + auto const format = ref_image->pixel_format(); BOOST_REQUIRE (ref_image->size() == check_image->size()); int const width = ref_image->size().width;