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

jm at svn.xiph.org jm at svn.xiph.org
Fri Oct 27 07:54:16 PDT 2006


Author: jm
Date: 2006-10-27 07:54:14 -0700 (Fri, 27 Oct 2006)
New Revision: 11963

Modified:
   trunk/speex/libspeex/filterbank.c
Log:
another MS user complaining about C99 code.


Modified: trunk/speex/libspeex/filterbank.c
===================================================================
--- trunk/speex/libspeex/filterbank.c	2006-10-27 13:40:21 UTC (rev 11962)
+++ trunk/speex/libspeex/filterbank.c	2006-10-27 14:54:14 UTC (rev 11963)
@@ -47,6 +47,8 @@
    FilterBank *bank;
    float df, max_mel, mel_interval;
    int i;
+   int id1;
+   int id2;
    df = .5*sampling/len;
    max_mel = toBARK(.5*sampling);
    mel_interval = max_mel/(banks-1);
@@ -59,8 +61,6 @@
    bank->filter_left = speex_alloc(len*sizeof(float));
    bank->filter_right = speex_alloc(len*sizeof(float));
    bank->scaling = speex_alloc(banks*sizeof(float));
-   int id1;
-   int id2;
 
    for (i=0;i<len;i++)
    {



More information about the commits mailing list