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:
parent
4a69055bad
commit
812f29ffb8
@ -2417,6 +2417,7 @@ retry:
|
|||||||
|
|
||||||
static void flush(AVCodecContext *avctx){
|
static void flush(AVCodecContext *avctx){
|
||||||
MPADecodeContext *s = avctx->priv_data;
|
MPADecodeContext *s = avctx->priv_data;
|
||||||
|
memset(s->synth_buf, 0, sizeof(s->synth_buf));
|
||||||
s->last_buf_size= 0;
|
s->last_buf_size= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user