diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-01-06 23:33:30 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-01-06 23:33:30 +0000 |
commit | 4bc829bb8f95afa20ce9d02164a5b249a3da4e36 (patch) | |
tree | 4d51905580d9aee37244502a0720f5a5daf75b58 /libavcodec | |
parent | c807e68f467ef7c6d6dd2692fc4829de9895e3ba (diff) | |
download | ffmpeg-4bc829bb8f95afa20ce9d02164a5b249a3da4e36.tar.gz |
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
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ac3dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 438cc65a42..c1b3ec2316 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++) |