Encoder: Make constructor private

This commit is contained in:
Barrett17 2018-11-22 09:31:46 +01:00
parent c09a589891
commit f40547016d

View File

@ -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;