Mercurial > libavcodec.hg
changeset 7750:f9bd775992d4 libavcodec
merge declaration and init. variable is not used outside the loop.
author | jbr |
---|---|
date | Sun, 31 Aug 2008 02:35:58 +0000 |
parents | f44fc478863f |
children | 816293be2e54 |
files | eac3dec.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/eac3dec.c Sun Aug 31 02:32:08 2008 +0000 +++ b/eac3dec.c Sun Aug 31 02:35:58 2008 +0000 @@ -399,9 +399,8 @@ } } else { /* LUT-based exponent strategy syntax */ - int frmchexpstr; for (ch = !((s->channel_mode > 1) && num_cpl_blocks); ch <= s->fbw_channels; ch++) { - frmchexpstr = get_bits(gbc, 5); + int frmchexpstr = get_bits(gbc, 5); for (blk = 0; blk < 6; blk++) { s->exp_strategy[blk][ch] = ff_eac3_frm_expstr[frmchexpstr][blk]; }