summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Swain <robert.swain@gmail.com>2008-09-18 15:48:37 +0000
committerRobert Swain <robert.swain@gmail.com>2008-09-18 15:48:37 +0000
commitf80a8ca5cba5a86d2d3f3e314d41ad29a985ab5b (patch)
treede90413c98160034288f97488e52c1ee0fc58fa2
parentc8947a561210ddf14533691df45b63f22e7736a4 (diff)
Cosmetics: missing brackets
Originally committed as revision 15363 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/aac.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/aac.c b/libavcodec/aac.c
index 504f987492..d92ea98b73 100644
--- a/libavcodec/aac.c
+++ b/libavcodec/aac.c
@@ -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;
}