summaryrefslogtreecommitdiff
path: root/libavcodec/aac.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2009-02-13 16:07:20 +0000
committerAlex Converse <alex.converse@gmail.com>2009-02-13 16:07:20 +0000
commit03b127477f49698d173abc6fb16a74528bccd1db (patch)
tree890509d76873be67744f2106d0c1ca5344b9db81 /libavcodec/aac.c
parentf1ade11e332ac0e6f748d65446d07f2a320429c7 (diff)
Re-indent after last commit.
Originally committed as revision 17211 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac.c')
-rw-r--r--libavcodec/aac.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/libavcodec/aac.c b/libavcodec/aac.c
index c0673bf133..311dd69cc5 100644
--- a/libavcodec/aac.c
+++ b/libavcodec/aac.c
@@ -1168,26 +1168,26 @@ static int decode_cce(AACContext * ac, GetBitContext * gb, ChannelElement * che)
if (coup->coupling_point == AFTER_IMDCT) {
coup->gain[c][0] = gain_cache;
} else {
- 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;
- if (t) {
- int s = 1;
- t = gain += t;
- if (sign) {
- s -= 2 * (t & 0x1);
- t >>= 1;
+ 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;
+ if (t) {
+ int s = 1;
+ t = gain += t;
+ if (sign) {
+ s -= 2 * (t & 0x1);
+ t >>= 1;
+ }
+ gain_cache = pow(scale, -t) * s;
}
- gain_cache = pow(scale, -t) * s;
}
+ coup->gain[c][idx] = gain_cache;
}
- coup->gain[c][idx] = gain_cache;
}
}
}
- }
}
return 0;
}