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

superdump subversion at mplayerhq.hu
Sun Aug 10 12:24:40 CEST 2008


Author: superdump
Date: Sun Aug 10 12:24:39 2008
New Revision: 3121

Log:
Remove unnecessary assignment and only conduct coupling gain decoding if
band_type != ZERO_BT


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Sun Aug 10 12:24:39 2008
@@ -1192,9 +1192,7 @@ static int decode_cce(AACContext * ac, G
         }
         for (g = 0; g < sce->ics.num_window_groups; g++)
             for (sfb = 0; sfb < sce->ics.max_sfb; sfb++, idx++)
-                if (sce->band_type[idx] == ZERO_BT) {
-                    coup->gain[c][idx] = 0;
-                } else {
+                if (sce->band_type[idx] != ZERO_BT) {
                     if (!cge) {
                         int t = get_vlc2(gb, vlc_scalefactors.table, 7, 3) - 60;
                         if (t) {



More information about the FFmpeg-soc mailing list