[xiph-commits] r11440 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Fri May 26 22:18:39 PDT 2006


Author: jm
Date: 2006-05-26 22:18:37 -0700 (Fri, 26 May 2006)
New Revision: 11440

Modified:
   trunk/speex/libspeex/ltp.c
Log:
C89 fix


Modified: trunk/speex/libspeex/ltp.c
===================================================================
--- trunk/speex/libspeex/ltp.c	2006-05-27 04:55:35 UTC (rev 11439)
+++ trunk/speex/libspeex/ltp.c	2006-05-27 05:18:37 UTC (rev 11440)
@@ -324,6 +324,8 @@
    x[2]=tmp1+2*nsf;
    
    {
+      VARDECL(spx_mem_t *mm);
+      ALLOC(mm, p, spx_mem_t);
       int pp=pitch-1;
       for (j=0;j<nsf;j++)
       {
@@ -334,7 +336,6 @@
          else
             e[j]=0;
       }
-      spx_mem_t mm[p];
       for (j=0;j<p;j++)
          mm[j] = 0;
       iir_mem16(e, ak, e, nsf, p, mm);



More information about the commits mailing list