changeset 7890:20dd4e5e5aa6 libavcodec

Cosmetics: missing brackets
author superdump
date Thu, 18 Sep 2008 15:48:37 +0000
parents fdd3e68dcf94
children 13ee9bb85721
files aac.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/aac.c	Thu Sep 18 15:35:08 2008 +0000
+++ b/aac.c	Thu Sep 18 15:48:37 2008 +0000
@@ -993,8 +993,8 @@
             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 @@
                     }
                     coup->gain[c][idx] = gain_cache;
                 }
+            }
+        }
     }
     return 0;
 }