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
This commit is contained in:
Brian Brice 2008-01-11 18:20:42 +00:00 committed by Michael Niedermayer
parent 4a69055bad
commit 812f29ffb8

View File

@ -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;
}