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

superdump subversion at mplayerhq.hu
Sun Jul 27 17:11:58 CEST 2008


Author: superdump
Date: Sun Jul 27 17:11:57 2008
New Revision: 2857

Log:
Merge declaration and initialisation


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Sun Jul 27 17:11:57 2008
@@ -606,9 +606,8 @@ static int output_configure(AACContext *
  */
 static void program_config_element_parse_tags(GetBitContext * gb, enum ChannelType *cpe_map,
                                               enum ChannelType *sce_map, int n, enum ChannelType type) {
-    enum ChannelType *map;
     while(n--) {
-        map = cpe_map && get_bits1(gb) ? cpe_map : sce_map; // stereo or mono map
+        enum ChannelType *map = cpe_map && get_bits1(gb) ? cpe_map : sce_map; // stereo or mono map
         map[get_bits(gb, 4)] = type;
     }
 }



More information about the FFmpeg-soc mailing list