[FFmpeg-cvslog] r11507 - trunk/libavcodec/mpegaudiodec.c
michael
subversion
Fri Jan 11 19:20:42 CET 2008
Author: michael
Date: Fri Jan 11 19:20:42 2008
New Revision: 11507
Log:
Clear synth_buf on flush(). Part of a patch by Brian Brice bbrice gmail com.
Modified:
trunk/libavcodec/mpegaudiodec.c
Modified: trunk/libavcodec/mpegaudiodec.c
==============================================================================
--- trunk/libavcodec/mpegaudiodec.c (original)
+++ trunk/libavcodec/mpegaudiodec.c Fri Jan 11 19:20:42 2008
@@ -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;
}
More information about the ffmpeg-cvslog
mailing list