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/image_decoder.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/lib/image_decoder.h') diff --git a/src/lib/image_decoder.h b/src/lib/image_decoder.h index d575f9021..067a24720 100644 --- a/src/lib/image_decoder.h +++ b/src/lib/image_decoder.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2016 Carl Hetherington + Copyright (C) 2012-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,12 +18,15 @@ */ + #include "decoder.h" + class ImageContent; class Log; class ImageProxy; + class ImageDecoder : public Decoder { public: @@ -33,12 +36,12 @@ public: return _image_content; } - bool pass (); - void seek (dcpomatic::ContentTime, bool); + bool pass () override; + void seek (dcpomatic::ContentTime, bool) override; private: std::shared_ptr _image_content; std::shared_ptr _image; - Frame _frame_video_position; + Frame _frame_video_position = 0; }; -- cgit v1.2.3