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
pull/126/head
Brian Brice 17 years ago committed by Michael Niedermayer
parent 4a69055bad
commit 812f29ffb8
  1. 1
      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;
}

Loading…
Cancel
Save