]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
merge declaration and init. variable is not used outside the loop.
authorjbr <jbr@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 31 Aug 2008 02:35:58 +0000 (02:35 +0000)
committerjbr <jbr@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 31 Aug 2008 02:35:58 +0000 (02:35 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15090 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/eac3dec.c

index 833b16688192529f493f757eed759e6a45148f10..5d75f8a7ac98c4a628e68e78c9bfb7280f8243dc 100644 (file)
@@ -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];
             }