diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index f0ace1acc95c6ac7ba2719d3b3423676cb25e881..5e9ec6a62629026991a20e300e0ebb8f80467ee8 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -2595,7 +2595,7 @@ static int decode_frame_mp3on4(AVCodecContext * avctx, } ff_mpegaudio_decode_header(m, header); - out_size += mp_decode_frame(m, decoded_buf, buf, fsize); + out_size += mp_decode_frame(m, outptr, buf, fsize); buf += fsize; len -= fsize;