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

superdump subversion at mplayerhq.hu
Fri Aug 8 15:14:54 CEST 2008


Author: superdump
Date: Fri Aug  8 15:14:54 2008
New Revision: 3086

Log:
Simplify get_bits() calls


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Fri Aug  8 15:14:54 2008
@@ -1139,7 +1139,7 @@ static int decode_cce(AACContext * ac, G
         coup->is_cpe[c] = get_bits1(gb);
         coup->tag_select[c] = get_bits(gb, 4);
         if (coup->is_cpe[c]) {
-            coup->ch_select[c] = get_bits1(gb) + 2*get_bits1(gb);
+            coup->ch_select[c] = get_bits(gb, 2);
             if (coup->ch_select[c] == 3)
                 num_gain++;
         }



More information about the FFmpeg-soc mailing list