# HG changeset patch # User jbr # Date 1199662410 0 # Node ID d06c6242957278f6d58b5e2a739f595d3c638a38 # Parent 8d88831a27779a8c56c04543b55a54dfd16cb96d make sure that the last coupling band stops at the end of the coupling range diff -r 8d88831a2777 -r d06c62429572 ac3dec.c --- a/ac3dec.c Sun Jan 06 20:15:24 2008 +0000 +++ b/ac3dec.c Sun Jan 06 23:33:30 2008 +0000 @@ -840,6 +840,7 @@ 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++)