summaryrefslogtreecommitdiff
path: root/codec.h
diff options
context:
space:
mode:
Diffstat (limited to 'codec.h')
-rw-r--r--codec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/codec.h b/codec.h
index 6656d6b..32049fe 100644
--- a/codec.h
+++ b/codec.h
@@ -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);