Author: superdump
Date: Sun Aug 10 00:33:56 2008
New Revision: 3113

Log:
Fix broken index incrementation in apply_intensity_stereo()


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c   (original)
+++ aac/aac.c   Sun Aug 10 00:33:56 2008
@@ -1081,8 +1081,10 @@ static void apply_intensity_stereo(Chann
                         for (k = offsets[i]; k < offsets[i+1]; k++)
                             coef1[gp*128 + k] = scale * coef0[gp*128 + k];
                 }
-            } else
-                idx = g*ics->max_sfb + sce1->band_type_run_end[idx];
+            } else {
+                idx += sce1->band_type_run_end[idx] - i;
+                i    = sce1->band_type_run_end[idx];
+            }
         }
         coef0 += ics->group_len[g]*128;
         coef1 += ics->group_len[g]*128;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to