comparison eac3dec.c @ 7750:f9bd775992d4 libavcodec

merge declaration and init. variable is not used outside the loop.
author jbr
date Sun, 31 Aug 2008 02:35:58 +0000
parents b09973d487e6
children e3fb2606d5b5
comparison
equal deleted inserted replaced
7749:f44fc478863f 7750:f9bd775992d4
397 s->exp_strategy[blk][ch] = get_bits(gbc, 2); 397 s->exp_strategy[blk][ch] = get_bits(gbc, 2);
398 } 398 }
399 } 399 }
400 } else { 400 } else {
401 /* LUT-based exponent strategy syntax */ 401 /* LUT-based exponent strategy syntax */
402 int frmchexpstr;
403 for (ch = !((s->channel_mode > 1) && num_cpl_blocks); ch <= s->fbw_channels; ch++) { 402 for (ch = !((s->channel_mode > 1) && num_cpl_blocks); ch <= s->fbw_channels; ch++) {
404 frmchexpstr = get_bits(gbc, 5); 403 int frmchexpstr = get_bits(gbc, 5);
405 for (blk = 0; blk < 6; blk++) { 404 for (blk = 0; blk < 6; blk++) {
406 s->exp_strategy[blk][ch] = ff_eac3_frm_expstr[frmchexpstr][blk]; 405 s->exp_strategy[blk][ch] = ff_eac3_frm_expstr[frmchexpstr][blk];
407 } 406 }
408 } 407 }
409 } 408 }