From f40547016dda0272d92ff27b7632cf1ad100f476 Mon Sep 17 00:00:00 2001 From: Barrett17 Date: Thu, 22 Nov 2018 09:31:46 +0100 Subject: [PATCH] Encoder: Make constructor private --- headers/os/codec/EncoderPlugin.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/headers/os/codec/EncoderPlugin.h b/headers/os/codec/EncoderPlugin.h index 3021f3130d..2278a2b8ec 100644 --- a/headers/os/codec/EncoderPlugin.h +++ b/headers/os/codec/EncoderPlugin.h @@ -28,9 +28,6 @@ public: class Encoder { public: - Encoder(); - virtual ~Encoder(); - // Some codecs may only support certain input color spaces, or output // color spaces, or multiple of 16 width/height... This method is needed // for get_next_encoder() functionality. If _acceptedInputFormat is NULL, @@ -82,6 +79,10 @@ public: virtual status_t Perform(perform_code code, void* data); +protected: + Encoder(); + virtual ~Encoder(); + private: ChunkWriter* fChunkWriter;