Commit 71c15d86 authored by jbr's avatar jbr

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
parent 52a28f39
......@@ -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++)
......
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