summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2009-07-21 03:47:41 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2009-07-21 03:47:41 +0000
commitdebfd39882896e167e45950ce08ccb2934be529c (patch)
treea879fc298f64e9ed305c0ba9a90a2a707ff1ca2f
parentc0622592162bc964b70a0615111dcea8ef86e52a (diff)
downloadrockbox-debfd39882896e167e45950ce08ccb2934be529c.tar.gz
rockbox-debfd39882896e167e45950ce08ccb2934be529c.tar.bz2
rockbox-debfd39882896e167e45950ce08ccb2934be529c.zip
Commited the wrong thing, fix zeroing in cook.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21989 a1c6a512-1295-4272-9138-f99709370657
-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 35c3f57a92..32d8a81cc2 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++) {