Commit 0cafc270 authored by jbr's avatar jbr

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15090 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a33a380d
...@@ -399,9 +399,8 @@ int ff_eac3_parse_header(AC3DecodeContext *s) ...@@ -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];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment