summaryrefslogtreecommitdiff
path: root/libavcodec/ac3dec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-08-05 01:58:28 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-08-05 01:58:28 +0000
commitb972c06a8fd7b593ec9ceee74883081ebd71c070 (patch)
tree06dfe8a7c68f0f42a2bb703050aa0c1fca7f2052 /libavcodec/ac3dec.c
parentc36ea0600ce896dfc62daf36f7460c79a9a2d239 (diff)
cosmetics: indentation and line wrap
Originally committed as revision 19587 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r--libavcodec/ac3dec.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index 5f3ace327f..80b4decd45 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -417,13 +417,14 @@ static void calc_transform_coeffs_cpl(AC3DecodeContext *s)
i = s->start_freq[CPL_CH];
for(bnd=0; bnd<s->num_cpl_bands; bnd++) {
for (j = 0; j < s->cpl_band_sizes[bnd]; j++,i++) {
- for(ch=1; ch<=s->fbw_channels; ch++) {
- if(s->channel_in_cpl[ch]) {
- s->fixed_coeffs[ch][i] = ((int64_t)s->fixed_coeffs[CPL_CH][i] * (int64_t)s->cpl_coords[ch][bnd]) >> 23;
- if (ch == 2 && s->phase_flags[bnd])
- s->fixed_coeffs[ch][i] = -s->fixed_coeffs[ch][i];
- }
+ for(ch=1; ch<=s->fbw_channels; ch++) {
+ if(s->channel_in_cpl[ch]) {
+ s->fixed_coeffs[ch][i] = ((int64_t)s->fixed_coeffs[CPL_CH][i] *
+ (int64_t)s->cpl_coords[ch][bnd]) >> 23;
+ if (ch == 2 && s->phase_flags[bnd])
+ s->fixed_coeffs[ch][i] = -s->fixed_coeffs[ch][i];
}
+ }
}
}
}