summaryrefslogtreecommitdiff
path: root/codec.h
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2011-12-29 13:43:12 +0100
committerJohns <johns98@gmx.net>2011-12-29 13:43:12 +0100
commitf1792644685a6ba8f8233ae5b5f4a3faab35a1a3 (patch)
tree0064467acea7d6fc8f4b0618b5920bba218e8d1c /codec.h
parent23300b0383286bf4628f679cbf7fccc65d713d9a (diff)
downloadvdr-plugin-softhddevice-f1792644685a6ba8f8233ae5b5f4a3faab35a1a3.tar.gz
vdr-plugin-softhddevice-f1792644685a6ba8f8233ae5b5f4a3faab35a1a3.tar.bz2
Fix bug: CodecVideoDecode destroys avpkt.
Diffstat (limited to 'codec.h')
-rw-r--r--codec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/codec.h b/codec.h
index 855738d..b171a1b 100644
--- a/codec.h
+++ b/codec.h
@@ -47,7 +47,7 @@ extern void CodecVideoOpen(VideoDecoder *, const char *, int);
extern void CodecVideoClose(VideoDecoder *);
/// Decode a video packet
-extern void CodecVideoDecode(VideoDecoder *, AVPacket * pkt);
+extern void CodecVideoDecode(VideoDecoder *, const AVPacket * pkt);
/// Allocate a new audio decoder context.
extern AudioDecoder *CodecAudioNewDecoder(void);
@@ -59,7 +59,7 @@ extern void CodecAudioOpen(AudioDecoder *, const char *, int);
extern void CodecAudioClose(AudioDecoder *);
/// Decode an audio packet
-extern void CodecAudioDecode(AudioDecoder *, AVPacket * pkt);
+extern void CodecAudioDecode(AudioDecoder *, const AVPacket * pkt);
/// Setup and initialize codec module.
extern void CodecInit(void);