summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_examiner.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ffmpeg_examiner.cc')
-rw-r--r--src/lib/ffmpeg_examiner.cc2
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) {