From 812f29ffb8a88b3803b0979be2753f0db24bbed8 Mon Sep 17 00:00:00 2001 From: Brian Brice Date: Fri, 11 Jan 2008 18:20:42 +0000 Subject: Clear synth_buf on flush(). Part of a patch by Brian Brice bbrice gmail com. Originally committed as revision 11507 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegaudiodec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index f7e840524a..5183f296fc 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -2417,6 +2417,7 @@ retry: static void flush(AVCodecContext *avctx){ MPADecodeContext *s = avctx->priv_data; + memset(s->synth_buf, 0, sizeof(s->synth_buf)); s->last_buf_size= 0; } -- cgit v1.2.3