[xiph-commits] r12146 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Sun Nov 26 02:02:35 PST 2006
Author: jm
Date: 2006-11-26 02:02:33 -0800 (Sun, 26 Nov 2006)
New Revision: 12146
Modified:
trunk/speex/libspeex/sb_celp.c
Log:
oops. EXTEND32() wasn't needed here.
Modified: trunk/speex/libspeex/sb_celp.c
===================================================================
--- trunk/speex/libspeex/sb_celp.c 2006-11-26 09:57:19 UTC (rev 12145)
+++ trunk/speex/libspeex/sb_celp.c 2006-11-26 10:02:33 UTC (rev 12146)
@@ -436,7 +436,7 @@
ALLOC(w_sig, st->windowSize, spx_word16_t);
/* Window for analysis */
for (i=0;i<st->windowSize;i++)
- w_sig[i] = EXTRACT16(SHR32(MULT16_16(EXTRACT16(SHR32(EXTEND32(st->high[i]),SIG_SHIFT)),st->window[i]),SIG_SHIFT));
+ w_sig[i] = EXTRACT16(SHR32(MULT16_16(EXTRACT16(SHR32(st->high[i],SIG_SHIFT)),st->window[i]),SIG_SHIFT));
/* Compute auto-correlation */
_spx_autocorr(w_sig, st->autocorr, st->lpcSize+1, st->windowSize);
More information about the commits
mailing list