diff options
author | Brian Brice <bbrice@gmail.com> | 2008-01-11 18:20:42 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-01-11 18:20:42 +0000 |
commit | 812f29ffb8a88b3803b0979be2753f0db24bbed8 (patch) | |
tree | 577ef7dfce4337cf8cbd7bc42290901d3b92700f /libavcodec | |
parent | 4a69055bad5d05c11881349cc889508a723a0b15 (diff) | |
download | ffmpeg-812f29ffb8a88b3803b0979be2753f0db24bbed8.tar.gz |
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
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpegaudiodec.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |