Revert "Use make_shared<>."
[dcpomatic.git] / test / ffmpeg_decoder_sequential_test.cc
index 7435a4af04d334bbd356a1c54405c603d18d53fb..6a27d698f5713997c0c0fd4d7e68caec77e8831c 100644 (file)
@@ -66,7 +66,7 @@ ffmpeg_decoder_sequential_test_one (boost::filesystem::path file, float fps, int
                list<ContentVideo> v;
                v = decoder->video->get (i, true);
                BOOST_REQUIRE_EQUAL (v.size(), 1U);
-               BOOST_CHECK_EQUAL (v.front().frame, i);
+               BOOST_CHECK_EQUAL (v.front().frame.index(), i);
        }
 #ifdef DCPOMATIC_DEBUG
        BOOST_CHECK_EQUAL (decoder->video->test_gaps, gaps);