aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2008-08-31 02:35:58 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2008-08-31 02:35:58 +0000
commite1747bfa4ed91f3673a77e6d302715ef5ca41959 (patch)
treeaf1a5679380a3e6343fa00976ebdafd8062f63bf /libavcodec
parentf2e4eb62dc77997cfdbd82a454cf0c403886613f (diff)
downloadffmpeg-e1747bfa4ed91f3673a77e6d302715ef5ca41959.tar.gz
merge declaration and init. variable is not used outside the loop.
Originally committed as revision 15090 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/eac3dec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/eac3dec.c b/libavcodec/eac3dec.c
index 833b166881..5d75f8a7ac 100644
--- a/libavcodec/eac3dec.c
+++ b/libavcodec/eac3dec.c
@@ -399,9 +399,8 @@ int ff_eac3_parse_header(AC3DecodeContext *s)
}
} 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];
}