summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-10-17 22:34:51 +0100
committerCarl Hetherington <cth@carlh.net>2017-10-17 22:34:51 +0100
commitba7516b01ddef143d58b32ac14350dcd15079641 (patch)
tree5cd9798aba967c524026f0cd527d77a4d872958e
parent95ddf1c4ff4eb3d40e64bc8dd3971267535e0ba6 (diff)
Remove unused variable.
-rw-r--r--test/ffmpeg_encoder_test.cc2
-rw-r--r--test/test.cc2
-rw-r--r--test/test.h2
3 files changed, 3 insertions, 3 deletions
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<std::string>);
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<const Image> image, boost::filesystem::path file, std::string format);