diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 438cc65a42ae91e6969b98deca322b720b0d67b9..c1b3ec231651c5afb818d56b863b22ee09409ad0 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++)