X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fvideo_decoder_fill_test.cc;fp=test%2Fvideo_decoder_fill_test.cc;h=25f7548535e8b793869e3b4a1687310d02c3bd58;hb=e60bb3e51bd1508b149e6b8f6608f09b5196ae26;hp=85dafd93ff8bb0099c870691786dd029f86d29b7;hpb=f07d5125a7b609320682689abe40781f096ca25e;p=dcpomatic.git diff --git a/test/video_decoder_fill_test.cc b/test/video_decoder_fill_test.cc index 85dafd93f..25f754853 100644 --- a/test/video_decoder_fill_test.cc +++ b/test/video_decoder_fill_test.cc @@ -34,7 +34,7 @@ BOOST_AUTO_TEST_CASE (video_decoder_fill_test1) decoder.fill_2d (0, 4); BOOST_CHECK_EQUAL (decoder._decoded_video.size(), 4U); - list::iterator i = decoder._decoded_video.begin(); + list::iterator i = decoder._decoded_video.begin(); for (int j = 0; j < 4; ++j) { BOOST_CHECK_EQUAL (i->frame, j); ++i; @@ -44,7 +44,7 @@ BOOST_AUTO_TEST_CASE (video_decoder_fill_test1) decoder.fill_2d (0, 7); BOOST_CHECK_EQUAL (decoder._decoded_video.size(), 7); - i = decoder._decoded_video.begin(); + i = decoder._decoded_video.begin(); for (int j = 0; j < 7; ++j) { BOOST_CHECK_EQUAL (i->frame, j); ++i; @@ -59,7 +59,7 @@ BOOST_AUTO_TEST_CASE (video_decoder_fill_test2) decoder.fill_3d (0, 4, EYES_LEFT); BOOST_CHECK_EQUAL (decoder._decoded_video.size(), 8); - list::iterator i = decoder._decoded_video.begin(); + list::iterator i = decoder._decoded_video.begin(); for (int j = 0; j < 8; ++j) { BOOST_CHECK_EQUAL (i->frame, j / 2); BOOST_CHECK_EQUAL (i->eyes, (j % 2) == 0 ? EYES_LEFT : EYES_RIGHT); @@ -68,7 +68,7 @@ BOOST_AUTO_TEST_CASE (video_decoder_fill_test2) decoder.fill_3d (0, 7, EYES_RIGHT); BOOST_CHECK_EQUAL (decoder._decoded_video.size(), 15); - i = decoder._decoded_video.begin(); + i = decoder._decoded_video.begin(); for (int j = 0; j < 15; ++j) { BOOST_CHECK_EQUAL (i->frame, j / 2); BOOST_CHECK_EQUAL (i->eyes, (j % 2) == 0 ? EYES_LEFT : EYES_RIGHT);