operator bool on Time is a really bad idea; removed it and fixed lots of bugs.
[dcpomatic.git] / test / ffmpeg_audio_test.cc
index 8942558791a8e10b07eee8a64d783651a8f00960..48422259c7d272c7df160b1b6daa6d5b6bbd5139 100644 (file)
@@ -65,7 +65,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_audio_test)
 
        shared_ptr<const dcp::ReelSoundAsset> sound_asset = check.cpls().front()->reels().front()->main_sound ();
        BOOST_CHECK (sound_asset);
-       BOOST_CHECK (sound_asset->mxf()->channels () == 6);
+       BOOST_CHECK_EQUAL (sound_asset->mxf()->channels (), 6);
 
        /* Sample index in the DCP */
        int n = 0;