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++;
         }
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to