C++11 and whitespace cleanups.
[dcpomatic.git] / test / test.cc
index 4ea709c81912f08d7fdeb4311fc3609314c731a0..89ee7f619728f0391fa78f2fcbf716e2174b72d8 100644 (file)
@@ -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;