2 * Copyright 2004, Marcus Overhagen. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 #include "DecoderPlugin.h"
11 #include <MediaFormats.h>
24 delete fChunkProvider
;
29 Decoder::GetNextChunk(const void **chunkBuffer
, size_t *chunkSize
,
30 media_header
*mediaHeader
)
32 return fChunkProvider
->GetNextChunk(chunkBuffer
, chunkSize
, mediaHeader
);
37 Decoder::SetChunkProvider(ChunkProvider
*provider
)
39 delete fChunkProvider
;
40 fChunkProvider
= provider
;
45 Decoder::Perform(perform_code code
, void* _data
)
50 void Decoder::_ReservedDecoder1() {}
51 void Decoder::_ReservedDecoder2() {}
52 void Decoder::_ReservedDecoder3() {}
53 void Decoder::_ReservedDecoder4() {}
54 void Decoder::_ReservedDecoder5() {}
59 DecoderPlugin::DecoderPlugin()