diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2007-07-19 00:51:19 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2007-07-19 00:51:19 +0000 |
commit | d699d38393d1bd92ae36729e08e485c93d5c6286 (patch) | |
tree | 37f9c21f72befe6f208a708101992a04248bde6f | |
parent | 0ce668015fa6a6f467db9541b08aac8720ad3978 (diff) | |
download | ffmpeg-d699d38393d1bd92ae36729e08e485c93d5c6286.tar.gz |
cosmetics: indentation
Originally committed as revision 9748 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/ac3dec.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 7af8a91640..c890ac311c 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -1638,24 +1638,24 @@ static int ac3_parse_audio_block(AC3DecodeContext * ctx) } if (bit_alloc_flags) { - /* set bit allocation parameters */ - ctx->bit_alloc_params.fscod = ctx->fscod; - ctx->bit_alloc_params.halfratecod = 0; - ctx->bit_alloc_params.sdecay = ff_sdecaytab[ctx->sdcycod]; - ctx->bit_alloc_params.fdecay = ff_fdecaytab[ctx->fdcycod]; - ctx->bit_alloc_params.sgain = ff_sgaintab[ctx->sgaincod]; - ctx->bit_alloc_params.dbknee = ff_dbkneetab[ctx->dbpbcod]; - ctx->bit_alloc_params.floor = ff_floortab[ctx->floorcod]; - ctx->bit_alloc_params.cplfleak = ctx->cplfleak; - ctx->bit_alloc_params.cplsleak = ctx->cplsleak; - - if (ctx->chincpl && (bit_alloc_flags & 64)) - do_bit_allocation(ctx, 5); - for (i = 0; i < nfchans; i++) - if ((bit_alloc_flags >> i) & 1) - do_bit_allocation(ctx, i); - if (ctx->lfeon && (bit_alloc_flags & 32)) - do_bit_allocation(ctx, 6); + /* set bit allocation parameters */ + ctx->bit_alloc_params.fscod = ctx->fscod; + ctx->bit_alloc_params.halfratecod = 0; + ctx->bit_alloc_params.sdecay = ff_sdecaytab[ctx->sdcycod]; + ctx->bit_alloc_params.fdecay = ff_fdecaytab[ctx->fdcycod]; + ctx->bit_alloc_params.sgain = ff_sgaintab[ctx->sgaincod]; + ctx->bit_alloc_params.dbknee = ff_dbkneetab[ctx->dbpbcod]; + ctx->bit_alloc_params.floor = ff_floortab[ctx->floorcod]; + ctx->bit_alloc_params.cplfleak = ctx->cplfleak; + ctx->bit_alloc_params.cplsleak = ctx->cplsleak; + + if (ctx->chincpl && (bit_alloc_flags & 64)) + do_bit_allocation(ctx, 5); + for (i = 0; i < nfchans; i++) + if ((bit_alloc_flags >> i) & 1) + do_bit_allocation(ctx, i); + if (ctx->lfeon && (bit_alloc_flags & 32)) + do_bit_allocation(ctx, 6); } if (get_bits1(gb)) { /* unused dummy data */ |