]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Cosmetics: missing brackets
authorsuperdump <superdump@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 18 Sep 2008 15:48:37 +0000 (15:48 +0000)
committersuperdump <superdump@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Thu, 18 Sep 2008 15:48:37 +0000 (15:48 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15363 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/aac.c

index 504f987492507fffa27da0caf989a434044603eb..d92ea98b73cb90dd2295fa65e95dac3bfe741801 100644 (file)
@@ -993,8 +993,8 @@ static int decode_cce(AACContext * ac, GetBitContext * gb, ChannelElement * che)
             gain = cge ? get_vlc2(gb, vlc_scalefactors.table, 7, 3) - 60: 0;
             gain_cache = pow(scale, gain);
         }
-        for (g = 0; g < sce->ics.num_window_groups; g++)
-            for (sfb = 0; sfb < sce->ics.max_sfb; sfb++, idx++)
+        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) {
                     if (!cge) {
                         int t = get_vlc2(gb, vlc_scalefactors.table, 7, 3) - 60;
@@ -1010,6 +1010,8 @@ static int decode_cce(AACContext * ac, GetBitContext * gb, ChannelElement * che)
                     }
                     coup->gain[c][idx] = gain_cache;
                 }
+            }
+        }
     }
     return 0;
 }