Browse Source

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
tags/v0.5
Brian Brice Michael Niedermayer 18 years ago
parent
commit
812f29ffb8
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/mpegaudiodec.c

+ 1
- 0
libavcodec/mpegaudiodec.c 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;
}



Loading…
Cancel
Save