diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-04-21 22:26:25 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-04-21 22:26:25 +0200 |
| commit | 824350b6e66ce7ef8a5449b60ce1abb2e4f462a5 (patch) | |
| tree | 59ea72b921132ba29407508d0868d98b95ca2167 /src | |
| parent | 194561797b00e07e61db611123a7f320819cdb19 (diff) | |
Fix bug causing mangled audio analyses in some cases (#3155).
The duplicate ID detection was broken due to using the video stream
index rather than its ID for checks.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/ffmpeg_examiner.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_examiner.cc b/src/lib/ffmpeg_examiner.cc index 6b60f6de3..48b354394 100644 --- a/src/lib/ffmpeg_examiner.cc +++ b/src/lib/ffmpeg_examiner.cc @@ -221,7 +221,7 @@ FFmpegExaminer::check_for_duplicate_ids() std::set<int> stream_ids; if (_video_stream) { - stream_ids.insert(*_video_stream); + stream_ids.insert(_format_context->streams[*_video_stream]->id); } for (auto stream: _audio_streams) { |
