[FFmpeg-soc] [soc]: r3267 - aac/aac.c

superdump subversion at mplayerhq.hu
Thu Aug 14 14:07:01 CEST 2008


Author: superdump
Date: Thu Aug 14 14:07:01 2008
New Revision: 3267

Log:
Finally correct index incrementation in apply_intensity_stereo() that was
supposed to have been fixed in r3113


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Thu Aug 14 14:07:01 2008
@@ -1042,8 +1042,9 @@ static void apply_intensity_stereo(Chann
                             coef1[group*128 + k] = scale * coef0[group*128 + k];
                 }
             } else {
-                idx += sce1->band_type_run_end[idx] - i;
-                i    = sce1->band_type_run_end[idx];
+                int bt_run_end = sce1->band_type_run_end[idx];
+                idx += bt_run_end - i;
+                i    = bt_run_end;
             }
         }
         coef0 += ics->group_len[g]*128;



More information about the FFmpeg-soc mailing list