summaryrefslogtreecommitdiff
path: root/codec.h
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-01-22 17:07:08 +0100
committerJohns <johns98@gmx.net>2012-01-22 17:07:08 +0100
commit98d2e0f7285c07aef879cd667eb54f68f7234a2b (patch)
tree15846c2cafd029a57888eadf2c0f650e0ead422f /codec.h
parent970493fb23b03cc2f0d7b9a829a2cb85c621c980 (diff)
downloadvdr-plugin-softhddevice-98d2e0f7285c07aef879cd667eb54f68f7234a2b.tar.gz
vdr-plugin-softhddevice-98d2e0f7285c07aef879cd667eb54f68f7234a2b.tar.bz2
Cleanups and Codec..Del.. prototypes.
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);