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

andoma subversion at mplayerhq.hu
Thu Apr 3 08:41:05 CEST 2008


Author: andoma
Date: Thu Apr  3 08:41:05 2008
New Revision: 2073

Log:
Replace a loop + skip_bits() with skip_bits_long()



Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Thu Apr  3 08:41:05 2008
@@ -673,9 +673,7 @@ static int program_config_element(AACCon
     program_config_element_parse_tags(gb, pcs.cpe_type, pcs.sce_type, num_back,  AAC_CHANNEL_BACK );
     program_config_element_parse_tags(gb, NULL,         pcs.lfe_type, num_lfe,   AAC_CHANNEL_LFE  );
 
-    // not a real audio channel
-    for (i = 0; i < num_assoc_data; i++)
-        skip_bits(gb, 4);
+    skip_bits_long(gb, 4 * num_assoc_data);
 
     for (i = 0; i < num_cc; i++) {
         skip_bits1(gb);    // cc_ind_sw



More information about the FFmpeg-soc mailing list