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

jbr subversion
Sun Nov 8 04:06:05 CET 2009


Author: jbr
Date: Sun Nov  8 04:06:05 2009
New Revision: 20473

Log:
ac3dec: revert r20089. The change was just wrong. 10l for me.

Modified:
   trunk/libavcodec/ac3dec.c

Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c	Sun Nov  8 00:44:56 2009	(r20472)
+++ trunk/libavcodec/ac3dec.c	Sun Nov  8 04:06:05 2009	(r20473)
@@ -607,11 +607,10 @@ static void do_rematrixing(AC3DecodeCont
 
     end = FFMIN(s->end_freq[1], s->end_freq[2]);
 
-    i = ff_ac3_rematrix_band_tab[0];
     for(bnd=0; bnd<s->num_rematrixing_bands; bnd++) {
         if(s->rematrixing_flags[bnd]) {
             bndend = FFMIN(end, ff_ac3_rematrix_band_tab[bnd+1]);
-            for(; i<bndend; i++) {
+            for(i=ff_ac3_rematrix_band_tab[bnd]; i<bndend; i++) {
                 int tmp0 = s->fixed_coeffs[1][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