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

jbr subversion
Wed Sep 30 23:51:03 CEST 2009


Author: jbr
Date: Wed Sep 30 23:51:02 2009
New Revision: 20106

Log:
10l: wrong operation in stereo rematrixing

Modified:
   trunk/libavcodec/ac3dec.c

Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c	Wed Sep 30 23:38:11 2009	(r20105)
+++ trunk/libavcodec/ac3dec.c	Wed Sep 30 23:51:02 2009	(r20106)
@@ -613,7 +613,7 @@ static void do_rematrixing(AC3DecodeCont
             bndend = FFMIN(end, ff_ac3_rematrix_band_tab[bnd+1]);
             for(; i<bndend; i++) {
                 int tmp0 = s->fixed_coeffs[1][i];
-                s->fixed_coeffs[1][i] -= s->fixed_coeffs[2][i];
+                s->fixed_coeffs[1][i] += s->fixed_coeffs[2][i];
                 s->fixed_coeffs[2][i]  = tmp0 - s->fixed_coeffs[2][i];
             }
         }



More information about the ffmpeg-cvslog mailing list