[FFmpeg-cvslog] r15090 - trunk/libavcodec/eac3dec.c
jbr
subversion
Sun Aug 31 04:35:58 CEST 2008
Author: jbr
Date: Sun Aug 31 04:35:58 2008
New Revision: 15090
Log:
merge declaration and init. variable is not used outside the loop.
Modified:
trunk/libavcodec/eac3dec.c
Modified: trunk/libavcodec/eac3dec.c
==============================================================================
--- trunk/libavcodec/eac3dec.c (original)
+++ trunk/libavcodec/eac3dec.c Sun Aug 31 04:35:58 2008
@@ -399,9 +399,8 @@ int ff_eac3_parse_header(AC3DecodeContex
}
} 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];
}
More information about the ffmpeg-cvslog
mailing list