1 #include "DecoderPlugin.h" 2 3 Decoder::Decoder() 4 { 5 } 6 7 Decoder::~Decoder() 8 { 9 } 10 11 status_t 12 Decoder::GetNextChunk(void **chunkBuffer, int32 *chunkSize, 13 media_header *mediaHeader) 14 { 15 return fReader->ReadChunk((char **)chunkBuffer, chunkSize, mediaHeader); 16 } 17 18 void 19 Decoder::Setup(BMediaTrack *reader) 20 { 21 fReader = reader; 22 } 23