summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/codecs/libcook/cook_fixpoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libcook/cook_fixpoint.h b/apps/codecs/libcook/cook_fixpoint.h
index 35c3f57..32d8a81 100644
--- a/apps/codecs/libcook/cook_fixpoint.h
+++ b/apps/codecs/libcook/cook_fixpoint.h
@@ -176,7 +176,7 @@ static void scalar_dequant_math(COOKContext *q, int index,
if(s >= 64)
- mlt_p[i]=0;
+ memset(mlt_p, 0, sizeof(REAL_T)*SUBBAND_SIZE);
else
{
for(i=0 ; i<SUBBAND_SIZE ; i++) {