diff options
author | Johns <johns98@gmx.net> | 2011-12-29 13:43:12 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2011-12-29 13:43:12 +0100 |
commit | f1792644685a6ba8f8233ae5b5f4a3faab35a1a3 (patch) | |
tree | 0064467acea7d6fc8f4b0618b5920bba218e8d1c /codec.h | |
parent | 23300b0383286bf4628f679cbf7fccc65d713d9a (diff) | |
download | vdr-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |