[FFmpeg-cvslog] r14741 - trunk/libavcodec/ac3dec.c

lorenm subversion
Thu Aug 14 01:30:54 CEST 2008


Author: lorenm
Date: Thu Aug 14 01:30:53 2008
New Revision: 14741

Log:
don't mark the delayed samples for upmixing if they haven't been downmixed


Modified:
   trunk/libavcodec/ac3dec.c

Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c	(original)
+++ trunk/libavcodec/ac3dec.c	Thu Aug 14 01:30:53 2008
@@ -1025,7 +1025,7 @@ static int decode_audio_block(AC3DecodeC
             ac3_downmix(s, s->transform_coeffs+1);
         }
 
-        if(!s->downmixed) {
+        if(downmix_output && !s->downmixed) {
             s->downmixed = 1;
             // FIXME delay[] is half the size of the other downmixes
             ac3_downmix(s, s->delay);




More information about the ffmpeg-cvslog mailing list