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

superdump subversion at mplayerhq.hu
Fri May 30 14:04:54 CEST 2008


Author: superdump
Date: Fri May 30 14:04:54 2008
New Revision: 2265

Log:
10l - ics->intensity_present got lost


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Fri May 30 14:04:54 2008
@@ -1089,10 +1089,11 @@ static int decode_scale_factor_data(AACC
             if (cb[g][i] == ZERO_HCB) {
                 sf[g][i] = 0.;
                 continue;
-            }
-            index = (cb[g][i] == INTENSITY_HCB) || (cb[g][i] == INTENSITY_HCB2) ? 2 :
-                     cb[g][i] == NOISE_HCB                                      ? 1 :
-                                                                                  0;
+            }else if((cb[g][i] == INTENSITY_HCB) || (cb[g][i] == INTENSITY_HCB2)) {
+                ics->intensity_present = 1;
+                index = 2;
+            }else
+                index = cb[g][i] == NOISE_HCB ? 1 : 0;
             if (cb[g][i] == NOISE_HCB && noise_flag-- > 0)
                 offset[index] += get_bits(gb, 9) - 256;
             else



More information about the FFmpeg-soc mailing list