changeset 9173:fb675a9727f0 libavcodec

memset when category is >=7, part of cook multichannel
author banan
date Sun, 15 Mar 2009 14:04:25 +0000
parents f99fb6054999
children 4d8d8fe29d4d
files cook.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cook.c	Sun Mar 15 13:38:36 2009 +0000
+++ b/cook.c	Sun Mar 15 14:04:25 2009 +0000
@@ -617,7 +617,7 @@
                 for(j=0 ; j<q->total_subbands ; j++) category[band+j]=7;
             }
         }
-        if(index==7) {
+        if(index>=7) {
             memset(subband_coef_index, 0, sizeof(subband_coef_index));
             memset(subband_coef_sign, 0, sizeof(subband_coef_sign));
         }