From 39fb8198febde1937019db1c300ec363aab5aa56 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 29 Apr 2021 09:14:20 +0200 Subject: C++11 tidying. --- src/lib/ffmpeg_decoder.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/ffmpeg_decoder.h') diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index e18d5e8eb..d19a9f703 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -46,8 +46,8 @@ class FFmpegDecoder : public FFmpeg, public Decoder public: FFmpegDecoder (std::shared_ptr film, std::shared_ptr, bool fast); - bool pass (); - void seek (dcpomatic::ContentTime time, bool); + bool pass () override; + void seek (dcpomatic::ContentTime time, bool) override; private: friend struct ::ffmpeg_pts_offset_test; @@ -77,7 +77,7 @@ private: dcpomatic::ContentTime _pts_offset; boost::optional _current_subtitle_to; /** true if we have a subtitle which has not had emit_stop called for it yet */ - bool _have_current_subtitle; + bool _have_current_subtitle = false; std::shared_ptr _black_image; -- cgit v1.2.3