From 71c15d8630a4a87de5c1d904e55ca81a3d6c5d8e Mon Sep 17 00:00:00 2001 From: jbr Date: Sun, 6 Jan 2008 23:33:30 +0000 Subject: [PATCH] make sure that the last coupling band stops at the end of the coupling range git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11438 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavcodec/ac3dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 438cc65a4..c1b3ec231 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -840,6 +840,7 @@ static int ac3_parse_audio_block(AC3DecodeContext *s, int blk) s->num_cpl_bands--; } } + s->cpl_band_struct[s->num_cpl_subbands-1] = 0; } else { /* coupling not in use */ for (ch = 1; ch <= fbw_channels; ch++) -- 2.11.4.GIT