From c09a589891a279061c7d88e305252909e2a41202 Mon Sep 17 00:00:00 2001 From: Barrett17 Date: Thu, 22 Nov 2018 09:27:54 +0100 Subject: [PATCH] Decoder: Make constructor protected --- headers/os/codec/DecoderPlugin.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/headers/os/codec/DecoderPlugin.h b/headers/os/codec/DecoderPlugin.h index 8d9267170a..67a614099f 100644 --- a/headers/os/codec/DecoderPlugin.h +++ b/headers/os/codec/DecoderPlugin.h @@ -23,9 +23,6 @@ public: class Decoder { public: - Decoder(); - virtual ~Decoder(); - virtual void GetCodecInfo(media_codec_info* codecInfo) = 0; // Setup get's called with the info data from Reader::GetStreamInfo @@ -50,6 +47,11 @@ public: virtual status_t Perform(perform_code code, void* data); +protected: + Decoder(); + virtual ~Decoder(); + + private: ChunkProvider* fChunkProvider;