From: Carl Hetherington Date: Tue, 17 Oct 2017 21:34:51 +0000 (+0100) Subject: Remove unused variable. X-Git-Tag: v2.11.27~8 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=ba7516b01ddef143d58b32ac14350dcd15079641 Remove unused variable. --- diff --git a/test/ffmpeg_encoder_test.cc b/test/ffmpeg_encoder_test.cc index 4af823852..b93179633 100644 --- a/test/ffmpeg_encoder_test.cc +++ b/test/ffmpeg_encoder_test.cc @@ -137,5 +137,5 @@ BOOST_AUTO_TEST_CASE (ffmpeg_encoder_basic_test_mixdown) /* Skip the first video packet when checking as it contains x264 options which can vary between machines (e.g. number of threads used for encoding). */ - check_ffmpeg ("build/test/ffmpeg_encoder_basic_test_mixdown.mp4", "test/data/ffmpeg_encoder_basic_test_mixdown.mp4", 0); + check_ffmpeg ("build/test/ffmpeg_encoder_basic_test_mixdown.mp4", "test/data/ffmpeg_encoder_basic_test_mixdown.mp4"); } diff --git a/test/test.cc b/test/test.cc index 1ca06c105..081a13a8c 100644 --- a/test/test.cc +++ b/test/test.cc @@ -442,7 +442,7 @@ check_ffmpeg_stream (boost::filesystem::path ref, boost::filesystem::path check, } void -check_ffmpeg (boost::filesystem::path ref, boost::filesystem::path check, int skip_packet_stream) +check_ffmpeg (boost::filesystem::path ref, boost::filesystem::path check) { check_ffmpeg_stream (ref, check, "v"); check_ffmpeg_stream (ref, check, "a"); diff --git a/test/test.h b/test/test.h index b0fe648f3..96e850510 100644 --- a/test/test.h +++ b/test/test.h @@ -34,7 +34,7 @@ extern void check_wav_file (boost::filesystem::path ref, boost::filesystem::path extern void check_mxf_audio_file (boost::filesystem::path ref, boost::filesystem::path check); extern void check_xml (boost::filesystem::path, boost::filesystem::path, std::list); extern void check_file (boost::filesystem::path, boost::filesystem::path); -extern void check_ffmpeg (boost::filesystem::path, boost::filesystem::path, int skip_packet_stream); +extern void check_ffmpeg (boost::filesystem::path, boost::filesystem::path); extern void check_image (boost::filesystem::path, boost::filesystem::path); extern boost::filesystem::path test_film_dir (std::string); extern void write_image (boost::shared_ptr image, boost::filesystem::path file, std::string format);