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

jm at motherfish-iii.xiph.org jm at motherfish-iii.xiph.org
Mon Feb 7 13:14:37 PST 2005


Author: jm
Date: 2005-02-07 13:14:36 -0800 (Mon, 07 Feb 2005)
New Revision: 8862

Modified:
   trunk/speex/libspeex/ltp.c
Log:
Removed unnecessary initialization


Modified: trunk/speex/libspeex/ltp.c
===================================================================
--- trunk/speex/libspeex/ltp.c	2005-02-07 20:03:32 UTC (rev 8861)
+++ trunk/speex/libspeex/ltp.c	2005-02-07 21:14:36 UTC (rev 8862)
@@ -182,11 +182,6 @@
       /* Update energy for next pitch*/
       energy[i-start+1] = energy[i-start] + SHR(MULT16_16(swn[-i-1],swn[-i-1]),6) - SHR(MULT16_16(swn[-i+len-1],swn[-i+len-1]),6);
    }
-   for (i=start;i<=end;i++)
-   {
-      corr[i-start]=0;
-      score[i-start]=0;
-   }
 
    pitch_xcorr(swn, swn-end, corr, len, end-start+1, stack);
 



More information about the commits mailing list