Browse Source

cosmetics: indentation and line wrap

Originally committed as revision 19587 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Justin Ruggles 16 years ago
parent
commit
b972c06a8f
1 changed files with 7 additions and 6 deletions
  1. +7
    -6
      libavcodec/ac3dec.c

+ 7
- 6
libavcodec/ac3dec.c View File

@@ -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];
}
}
}
}
}


Loading…
Cancel
Save