1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

make sure that the last coupling band stops at the end of the coupling range

Originally committed as revision 11438 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Justin Ruggles 2008-01-06 23:33:30 +00:00
parent c807e68f46
commit 4bc829bb8f

View File

@ -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++)