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;