From b3056163b9da4425aab25e3c9630a805a48d30ff Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 3 Nov 2025 01:10:39 +0100 Subject: Missing check for duplicate IDs. Without this call we don't spot duplicates that are found in the initial scan. --- test/ffmpeg_examiner_test.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test') diff --git a/test/ffmpeg_examiner_test.cc b/test/ffmpeg_examiner_test.cc index c07900db8..8758c3b78 100644 --- a/test/ffmpeg_examiner_test.cc +++ b/test/ffmpeg_examiner_test.cc @@ -93,3 +93,11 @@ BOOST_AUTO_TEST_CASE (ffmpeg_examiner_video_stream_selection_test) BOOST_REQUIRE (examiner->video_frame_rate()); BOOST_CHECK_EQUAL (examiner->video_frame_rate().get(), 25); } + + +BOOST_AUTO_TEST_CASE(test_crash_during_examination_with_duplicate_ids) +{ + auto content = make_shared(TestPaths::private_data() / "hunter.mkv"); + auto examiner = make_shared(content); +} + -- cgit v1.2.3