Decoder: Make constructor protected

This commit is contained in:
Barrett17
2018-11-22 09:47:12 +01:00
parent a741fb49a6
commit c09a589891
+5 -3
View File
@@ -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;