merge declaration and init. variable is not used outside the loop.

Originally committed as revision 15090 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Justin Ruggles 17 years ago
parent f2e4eb62dc
commit e1747bfa4e
  1. 3
      libavcodec/eac3dec.c

@ -399,9 +399,8 @@ int ff_eac3_parse_header(AC3DecodeContext *s)
} }
} else { } else {
/* LUT-based exponent strategy syntax */ /* LUT-based exponent strategy syntax */
int frmchexpstr;
for (ch = !((s->channel_mode > 1) && num_cpl_blocks); ch <= s->fbw_channels; ch++) { 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++) { for (blk = 0; blk < 6; blk++) {
s->exp_strategy[blk][ch] = ff_eac3_frm_expstr[frmchexpstr][blk]; s->exp_strategy[blk][ch] = ff_eac3_frm_expstr[frmchexpstr][blk];
} }

Loading…
Cancel
Save