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

superdump subversion at mplayerhq.hu
Tue May 20 18:59:40 CEST 2008


Author: superdump
Date: Tue May 20 18:59:39 2008
New Revision: 2172

Log:
Minor simplification. Amusingly the old code was how it was written in the spec


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Tue May 20 18:59:39 2008
@@ -1562,12 +1562,11 @@ static int sbr_extension_data(AACContext
 
 static int excluded_channels(AACContext * ac, GetBitContext * gb) {
     int i;
-    int n = 0;
+    int n = 1;
     int num_excl_chan = 7;
 
     for (i = 0; i < 7; i++)
          ac->che_drc->exclude_mask[i] = get_bits1(gb);
-    n++;
 
     while (get_bits1(gb)) {
         ac->che_drc->additional_excluded_chns[n-1]=1;



More information about the FFmpeg-soc mailing list