summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ffmpeg_examiner.cc3
-rw-r--r--src/lib/ffmpeg_examiner.h6
2 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/ffmpeg_examiner.cc b/src/lib/ffmpeg_examiner.cc
index 6d3b61473..b61089269 100644
--- a/src/lib/ffmpeg_examiner.cc
+++ b/src/lib/ffmpeg_examiner.cc
@@ -62,9 +62,6 @@ static const int PULLDOWN_CHECK_FRAMES = 16;
/** @param job job that the examiner is operating in, or 0 */
FFmpegExaminer::FFmpegExaminer (shared_ptr<const FFmpegContent> c, shared_ptr<Job> job)
: FFmpeg (c)
- , _video_length (0)
- , _need_video_length (false)
- , _pulldown (false)
{
/* Find audio and subtitle streams */
diff --git a/src/lib/ffmpeg_examiner.h b/src/lib/ffmpeg_examiner.h
index b2dcbb27d..f6fe8c423 100644
--- a/src/lib/ffmpeg_examiner.h
+++ b/src/lib/ffmpeg_examiner.h
@@ -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_video_length = false;
boost::optional<double> _rotation;
- bool _pulldown;
+ bool _pulldown = false;
struct SubtitleStart
{