[FFmpeg-cvslog] r13384 - trunk/libavcodec/ac3dec.c
jbr
subversion
Sun May 25 18:19:44 CEST 2008
Author: jbr
Date: Sun May 25 18:19:44 2008
New Revision: 13384
Log:
10l: fix error in commit r13382
Modified:
trunk/libavcodec/ac3dec.c
Modified: trunk/libavcodec/ac3dec.c
==============================================================================
--- trunk/libavcodec/ac3dec.c (original)
+++ trunk/libavcodec/ac3dec.c Sun May 25 18:19:44 2008
@@ -988,7 +988,8 @@ static int ac3_parse_audio_block(AC3Deco
}
/* 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_slow_leak = get_bits(gbc, 3);
bit_alloc_stages[CPL_CH] = FFMAX(bit_alloc_stages[CPL_CH], 2);
@@ -996,6 +997,7 @@ static int ac3_parse_audio_block(AC3Deco
av_log(s->avctx, AV_LOG_ERROR, "new coupling leak info must be present in block 0\n");
return -1;
}
+ }
/* delta bit allocation information */
if (get_bits1(gbc)) {
More information about the ffmpeg-cvslog
mailing list