[FFmpeg-soc] [soc]: r3549 - eac3/ac3dec.c
jbr
subversion at mplayerhq.hu
Sat Aug 23 03:59:36 CEST 2008
Author: jbr
Date: Sat Aug 23 03:59:36 2008
New Revision: 3549
Log:
cosmetics: indentation
Modified:
eac3/ac3dec.c
Modified: eac3/ac3dec.c
==============================================================================
--- eac3/ac3dec.c (original)
+++ eac3/ac3dec.c Sat Aug 23 03:59:36 2008
@@ -775,7 +775,7 @@ static int decode_audio_block(AC3DecodeC
if (s->cpl_strategy_exists[blk]) {
memset(bit_alloc_stages, 3, AC3_MAX_CHANNELS);
if (!s->eac3)
- s->cpl_in_use[blk] = get_bits1(gbc);
+ s->cpl_in_use[blk] = get_bits1(gbc);
if (s->cpl_in_use[blk]) {
/* coupling in use */
int cpl_begin_freq, cpl_end_freq;
@@ -797,8 +797,8 @@ static int decode_audio_block(AC3DecodeC
s->channel_in_cpl[1] = 1;
s->channel_in_cpl[2] = 1;
} else {
- for (ch = 1; ch <= fbw_channels; ch++)
- s->channel_in_cpl[ch] = get_bits1(gbc);
+ for (ch = 1; ch <= fbw_channels; ch++)
+ s->channel_in_cpl[ch] = get_bits1(gbc);
}
/* phase flags in use */
@@ -819,7 +819,7 @@ static int decode_audio_block(AC3DecodeC
/* coupling band structure */
if (!s->eac3 || get_bits1(gbc)) {
- for (bnd = 0; bnd < s->num_cpl_subbands - 1; bnd++) {
+ for (bnd = 0; bnd < s->num_cpl_subbands - 1; bnd++) {
s->cpl_band_struct[bnd] = get_bits1(gbc);
}
} else if (!blk) {
@@ -844,11 +844,11 @@ static int decode_audio_block(AC3DecodeC
}
} else if (!s->eac3) {
if(!blk) {
- av_log(s->avctx, AV_LOG_ERROR, "new coupling strategy must be present in block 0\n");
- return -1;
- } else {
- s->cpl_in_use[blk] = s->cpl_in_use[blk-1];
- }
+ av_log(s->avctx, AV_LOG_ERROR, "new coupling strategy must be present in block 0\n");
+ return -1;
+ } else {
+ s->cpl_in_use[blk] = s->cpl_in_use[blk-1];
+ }
}
cpl_in_use = s->cpl_in_use[blk];
More information about the FFmpeg-soc
mailing list