aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-08 12:09:55 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-08 13:06:13 +0200
commit069cf86d32103da7bb2a0581dcbf66f1e95508d5 (patch)
treec51096ab171bcc5bc132626c60ea9f21581209d0 /libavcodec/avcodec.h
parentcb939468202ce9352a9a8809007f24608bbbb61a (diff)
downloadffmpeg-069cf86d32103da7bb2a0581dcbf66f1e95508d5.tar.gz
Fix side-data memleak also for audio.
This uses the same code as in decode_video also in decode_audio. Should fix valgrind FATE failures for nellymoser encode test. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index a53f2c62b0..de9b245879 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3856,7 +3856,7 @@ attribute_deprecated int avcodec_decode_audio3(AVCodecContext *avctx, int16_t *s
* AVPacket is returned.
*/
int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame,
- int *got_frame_ptr, AVPacket *avpkt);
+ int *got_frame_ptr, const AVPacket *avpkt);
/**
* Decode the video frame of size avpkt->size from avpkt->data into picture.