Commit baa18b84 authored by jbr's avatar jbr

do not read exponent strategies from each block for E-AC-3 since they are in the header

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15000 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 349e73f4
......@@ -901,9 +901,8 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
}
/* exponent strategies for each channel */
s->exp_strategy[blk][CPL_CH] = EXP_REUSE;
s->exp_strategy[blk][s->lfe_ch] = EXP_REUSE;
for (ch = !cpl_in_use; ch <= s->channels; ch++) {
if (!s->eac3)
s->exp_strategy[blk][ch] = get_bits(gbc, 2 - (ch == s->lfe_ch));
if(s->exp_strategy[blk][ch] != EXP_REUSE)
bit_alloc_stages[ch] = 3;
......
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