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

tterribe at svn.xiph.org tterribe at svn.xiph.org
Tue Jun 13 22:57:18 PDT 2006


Author: tterribe
Date: 2006-06-13 22:57:17 -0700 (Tue, 13 Jun 2006)
New Revision: 11570

Modified:
   trunk/speex/libspeex/ltp.c
Log:
Swap code/variable declaration to be pre-C99 compliant.
Thanks to pwk for the report.


Modified: trunk/speex/libspeex/ltp.c
===================================================================
--- trunk/speex/libspeex/ltp.c	2006-06-13 22:46:59 UTC (rev 11569)
+++ trunk/speex/libspeex/ltp.c	2006-06-14 05:57:17 UTC (rev 11570)
@@ -504,12 +504,12 @@
    const signed char *gain_cdbk;
    int   gain_cdbk_size;
    
+   VARDECL(int *nbest);
+   
    params = (const ltp_params*) par;
    gain_cdbk_size = 1<<params->gain_bits;
    gain_cdbk = params->gain_cdbk + 4*gain_cdbk_size*cdbk_offset;
    
-   VARDECL(int *nbest);
-   
    N=complexity;
    if (N>10)
       N=10;



More information about the commits mailing list