[xiph-commits] r11151 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Mon Apr 17 16:43:23 PDT 2006
Author: jm
Date: 2006-04-17 16:43:21 -0700 (Mon, 17 Apr 2006)
New Revision: 11151
Modified:
trunk/speex/libspeex/nb_celp.c
Log:
C89-correctness
Modified: trunk/speex/libspeex/nb_celp.c
===================================================================
--- trunk/speex/libspeex/nb_celp.c 2006-04-17 23:35:23 UTC (rev 11150)
+++ trunk/speex/libspeex/nb_celp.c 2006-04-17 23:43:21 UTC (rev 11151)
@@ -286,6 +286,7 @@
int ol_pitch_id=0;
#endif
spx_word16_t *in = vin;
+ spx_word16_t *exc16_alias;
st=(EncState *)state;
stack=st->stack;
@@ -407,7 +408,7 @@
/*Compute "real" excitation*/
/* FIXME: Are we breaking aliasing rules? */
- spx_word16_t *exc16_alias = (spx_word16_t*)st->exc;
+ exc16_alias = (spx_word16_t*)st->exc;
for (i=0;i<st->windowSize-st->frameSize;i++)
exc16_alias[i] = st->winBuf[i];
for (;i<st->frameSize;i++)
More information about the commits
mailing list