Merge branch '2.0' of git.carlh.net:git/dcpomatic into 2.0
[dcpomatic.git] / test / video_decoder_fill_test.cc
index ff3fc0b9e0615e6d4cebe2d2e9098b95dc150e20..9ee00450d15f58537c455409b2b6d3caa3da6b47 100644 (file)
@@ -40,6 +40,8 @@ BOOST_AUTO_TEST_CASE (video_decoder_fill_test1)
                ++i;
        }
 
+       decoder._decoded_video.clear ();
+
        decoder.fill_2d (0, 7);
        BOOST_CHECK_EQUAL (decoder._decoded_video.size(), 7);
        i = decoder._decoded_video.begin();