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

superdump subversion at mplayerhq.hu
Sat Jun 21 16:01:02 CEST 2008


Author: superdump
Date: Sat Jun 21 16:01:02 2008
New Revision: 2507

Log:
Remove duplicated code by using program_config_element_parse_tags


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Sat Jun 21 16:01:02 2008
@@ -629,10 +629,7 @@ static int program_config_element(AACCon
 
     skip_bits_long(gb, 4 * num_assoc_data);
 
-    for (i = 0; i < num_cc; i++) {
-        skip_bits1(gb);    // cc_ind_sw
-        pcs.che_type[ID_CCE][get_bits(gb, 4)] = AAC_CHANNEL_CC;
-    }
+    program_config_element_parse_tags(gb, pcs.che_type[ID_CCE], pcs.che_type[ID_CCE], num_cc,    AAC_CHANNEL_CC   );
 
     align_get_bits(gb);
 



More information about the FFmpeg-soc mailing list