diff options
Diffstat (limited to 'src/lib/ffmpeg_examiner.h')
| -rw-r--r-- | src/lib/ffmpeg_examiner.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ffmpeg_examiner.h b/src/lib/ffmpeg_examiner.h index 45313ec18..ad64f349d 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; @@ -101,11 +101,11 @@ private: /** Video length, either obtained from the header or derived by running * through the whole file. */ - Frame _video_length; - bool _need_video_length; + Frame _video_length = 0; + bool _need_length = false; boost::optional<double> _rotation; - bool _pulldown; + bool _pulldown = false; struct SubtitleStart { |
