Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/speexdsp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>2006-04-18 03:43:21 +0400
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>2006-04-18 03:43:21 +0400
commitf34f5495758db1ad7b0b0e02ae6fa0bece05e98f (patch)
treec3b5e4b7c2dec46afbe037af77e089fada84a51d /libspeex/nb_celp.c
parent8f6aaa037df18f80355a0fdaa1387272bd712dc3 (diff)
C89-correctness
git-svn-id: http://svn.xiph.org/trunk/speex@11151 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'libspeex/nb_celp.c')
-rw-r--r--libspeex/nb_celp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libspeex/nb_celp.c b/libspeex/nb_celp.c
index ce05a9f..bd86967 100644
--- a/libspeex/nb_celp.c
+++ b/libspeex/nb_celp.c
@@ -286,6 +286,7 @@ int nb_encode(void *state, void *vin, SpeexBits *bits)
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 @@ int nb_encode(void *state, void *vin, SpeexBits *bits)
/*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++)