comparison ac3dec.c @ 5374:eb7a01d0fe2c libavcodec

cosmetics: indentation
author jbr
date Thu, 19 Jul 2007 00:51:19 +0000
parents 69eac3e47b9a
children 7659a1acfba4
comparison
equal deleted inserted replaced
5373:69eac3e47b9a 5374:eb7a01d0fe2c
1636 } 1636 }
1637 } 1637 }
1638 } 1638 }
1639 1639
1640 if (bit_alloc_flags) { 1640 if (bit_alloc_flags) {
1641 /* set bit allocation parameters */ 1641 /* set bit allocation parameters */
1642 ctx->bit_alloc_params.fscod = ctx->fscod; 1642 ctx->bit_alloc_params.fscod = ctx->fscod;
1643 ctx->bit_alloc_params.halfratecod = 0; 1643 ctx->bit_alloc_params.halfratecod = 0;
1644 ctx->bit_alloc_params.sdecay = ff_sdecaytab[ctx->sdcycod]; 1644 ctx->bit_alloc_params.sdecay = ff_sdecaytab[ctx->sdcycod];
1645 ctx->bit_alloc_params.fdecay = ff_fdecaytab[ctx->fdcycod]; 1645 ctx->bit_alloc_params.fdecay = ff_fdecaytab[ctx->fdcycod];
1646 ctx->bit_alloc_params.sgain = ff_sgaintab[ctx->sgaincod]; 1646 ctx->bit_alloc_params.sgain = ff_sgaintab[ctx->sgaincod];
1647 ctx->bit_alloc_params.dbknee = ff_dbkneetab[ctx->dbpbcod]; 1647 ctx->bit_alloc_params.dbknee = ff_dbkneetab[ctx->dbpbcod];
1648 ctx->bit_alloc_params.floor = ff_floortab[ctx->floorcod]; 1648 ctx->bit_alloc_params.floor = ff_floortab[ctx->floorcod];
1649 ctx->bit_alloc_params.cplfleak = ctx->cplfleak; 1649 ctx->bit_alloc_params.cplfleak = ctx->cplfleak;
1650 ctx->bit_alloc_params.cplsleak = ctx->cplsleak; 1650 ctx->bit_alloc_params.cplsleak = ctx->cplsleak;
1651 1651
1652 if (ctx->chincpl && (bit_alloc_flags & 64)) 1652 if (ctx->chincpl && (bit_alloc_flags & 64))
1653 do_bit_allocation(ctx, 5); 1653 do_bit_allocation(ctx, 5);
1654 for (i = 0; i < nfchans; i++) 1654 for (i = 0; i < nfchans; i++)
1655 if ((bit_alloc_flags >> i) & 1) 1655 if ((bit_alloc_flags >> i) & 1)
1656 do_bit_allocation(ctx, i); 1656 do_bit_allocation(ctx, i);
1657 if (ctx->lfeon && (bit_alloc_flags & 32)) 1657 if (ctx->lfeon && (bit_alloc_flags & 32))
1658 do_bit_allocation(ctx, 6); 1658 do_bit_allocation(ctx, 6);
1659 } 1659 }
1660 1660
1661 if (get_bits1(gb)) { /* unused dummy data */ 1661 if (get_bits1(gb)) { /* unused dummy data */
1662 skipl = get_bits(gb, 9); 1662 skipl = get_bits(gb, 9);
1663 while(skipl--) 1663 while(skipl--)