diff options
Diffstat (limited to 'codec.h')
-rw-r--r-- | codec.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -40,6 +40,9 @@ typedef struct _audio_decoder_ AudioDecoder; /// Allocate a new video decoder context. extern VideoDecoder *CodecVideoNewDecoder(VideoHwDecoder *); + /// Deallocate a video decoder context. +extern void CodecVideoDelDecoder(VideoDecoder *); + /// Open video codec. extern void CodecVideoOpen(VideoDecoder *, const char *, int); @@ -55,6 +58,9 @@ extern void CodecVideoFlushBuffers(VideoDecoder *); /// Allocate a new audio decoder context. extern AudioDecoder *CodecAudioNewDecoder(void); + /// Deallocate an audio decoder context. +extern void CodecAudioDelDecoder(AudioDecoder *); + /// Open audio codec. extern void CodecAudioOpen(AudioDecoder *, const char *, int); |