Commit 8d76005b authored by jbr's avatar jbr

10l: fix error in commit r13382

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13384 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b00c9be7
...@@ -988,7 +988,8 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk) ...@@ -988,7 +988,8 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk)
} }
/* coupling leak information */ /* coupling leak information */
if (s->cpl_in_use && get_bits1(gbc)) { if (s->cpl_in_use) {
if (get_bits1(gbc)) {
s->bit_alloc_params.cpl_fast_leak = get_bits(gbc, 3); s->bit_alloc_params.cpl_fast_leak = get_bits(gbc, 3);
s->bit_alloc_params.cpl_slow_leak = get_bits(gbc, 3); s->bit_alloc_params.cpl_slow_leak = get_bits(gbc, 3);
bit_alloc_stages[CPL_CH] = FFMAX(bit_alloc_stages[CPL_CH], 2); bit_alloc_stages[CPL_CH] = FFMAX(bit_alloc_stages[CPL_CH], 2);
...@@ -996,6 +997,7 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk) ...@@ -996,6 +997,7 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk)
av_log(s->avctx, AV_LOG_ERROR, "new coupling leak info must be present in block 0\n"); av_log(s->avctx, AV_LOG_ERROR, "new coupling leak info must be present in block 0\n");
return -1; return -1;
} }
}
/* delta bit allocation information */ /* delta bit allocation information */
if (get_bits1(gbc)) { if (get_bits1(gbc)) {
......
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