[FFmpeg-soc] [soc]: r2047 - dcaenc/dcaenc.c

kostya subversion at mplayerhq.hu
Wed Mar 26 06:57:19 CET 2008


Author: kostya
Date: Wed Mar 26 06:57:19 2008
New Revision: 2047

Log:
zero all array

Modified:
   dcaenc/dcaenc.c

Modified: dcaenc/dcaenc.c
==============================================================================
--- dcaenc/dcaenc.c	(original)
+++ dcaenc/dcaenc.c	Wed Mar 26 06:57:19 2008
@@ -92,7 +92,7 @@ static void qmf_decompose(DCAContext *c,
        (0.0, 0.0, ..., 0.0, -1.0, 1.0, 0.0, ..., 0.0)
        so that -1.0 cancels 1.0 from the previous step */
 
-    memset(accum,0,sizeof(int32_t));
+    memset(accum,0,sizeof(accum));
 
     for (k = 48, j = 0, i = c->start[channel]; i < 512; k++, j++, i++)
         accum[(k & 32) ? (31 - (k & 31)) : (k & 31)] += mul32(c->history[channel][i], UnQMF[j]);



More information about the FFmpeg-soc mailing list