Commit 812f29ff authored by Brian Brice's avatar Brian Brice Committed by Michael Niedermayer

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
parent 4a69055b
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment