summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_examiner.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-10-19 20:20:00 +0200
committerCarl Hetherington <cth@carlh.net>2024-10-19 20:20:00 +0200
commit904538721cf2b69bb8d80059d13ae20e4f256fce (patch)
treec2db7d001d8c1046a3f8c8b1715856bb09eafffb /src/lib/ffmpeg_examiner.h
parent2c26dd2573977a940d003a58f2ccd408a5657aab (diff)
Tidy up and fix obtaining video length when it's not in the header.
I think this has been broken for a while as we would come out of the loop even if we still wanted to find the video length.
Diffstat (limited to 'src/lib/ffmpeg_examiner.h')
-rw-r--r--src/lib/ffmpeg_examiner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_examiner.h b/src/lib/ffmpeg_examiner.h
index 45313ec18..b2dcbb27d 100644
--- a/src/lib/ffmpeg_examiner.h
+++ b/src/lib/ffmpeg_examiner.h
@@ -89,7 +89,7 @@ public:
private:
bool video_packet (AVCodecContext* context, std::string& temporal_reference, AVPacket* packet);
- void audio_packet (AVCodecContext* context, std::shared_ptr<FFmpegAudioStream>, AVPacket* packet);
+ bool audio_packet (AVCodecContext* context, std::shared_ptr<FFmpegAudioStream>, AVPacket* packet);
std::string stream_name (AVStream* s) const;
std::string subtitle_stream_name (AVStream* s) const;