changeset 6124:d06c62429572 libavcodec

make sure that the last coupling band stops at the end of the coupling range
author jbr
date Sun, 06 Jan 2008 23:33:30 +0000
parents 8d88831a2777
children 5573739fee16
files ac3dec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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++)