[xiph-commits] r17966 - trunk/chirptest

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Thu May 5 23:23:41 PDT 2011


Author: xiphmont
Date: 2011-05-05 23:23:41 -0700 (Thu, 05 May 2011)
New Revision: 17966

Modified:
   trunk/chirptest/chirptest.c
Log:
Fix to work allocation in column thread


Modified: trunk/chirptest/chirptest.c
===================================================================
--- trunk/chirptest/chirptest.c	2011-05-06 06:17:14 UTC (rev 17965)
+++ trunk/chirptest/chirptest.c	2011-05-06 06:23:41 UTC (rev 17966)
@@ -355,7 +355,7 @@
   int except;
   int localinit = !arg->in;
   float *chirp = localinit ? malloc(sizeof(*chirp)*blocksize) : arg->in;
-  float *work=arg->white_noise?malloc(sizeof(*chirp)*blocksize):NULL;
+  float *work=arg->white_noise?malloc(sizeof(*work)*blocksize):NULL;
 
   while(1){
     float rms_acc=0.;



More information about the commits mailing list