diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2006-04-17 20:05:03 +0400 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2006-04-17 20:05:03 +0400 |
commit | 8f6aaa037df18f80355a0fdaa1387272bd712dc3 (patch) | |
tree | bfecc7e878e141ed5c94fa402efae67e0665dd21 /libspeex/nb_celp.c | |
parent | bb63c49eb0d89c00488fc6d02eab2a48104d7dd3 (diff) |
fixed enhancement for wideband (sort of) and a bit of cleaning up.
git-svn-id: http://svn.xiph.org/trunk/speex@11147 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'libspeex/nb_celp.c')
-rw-r--r-- | libspeex/nb_celp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libspeex/nb_celp.c b/libspeex/nb_celp.c index d9f2650..ce05a9f 100644 --- a/libspeex/nb_celp.c +++ b/libspeex/nb_celp.c @@ -1170,9 +1170,9 @@ static void nb_decode_lost(DecState *st, spx_word16_t *out, char *stack) /*speex_move(st->inBuf, st->inBuf+st->frameSize, (st->bufSize-st->frameSize)*sizeof(spx_sig_t));*/ speex_move(st->excBuf, st->excBuf+st->frameSize, (PITCH_PERIODS*st->max_pitch + 1)*sizeof(spx_sig_t)); - ALLOC(awk1, (st->lpcSize+1), spx_coef_t); - ALLOC(awk2, (st->lpcSize+1), spx_coef_t); - ALLOC(awk3, (st->lpcSize+1), spx_coef_t); + ALLOC(awk1, st->lpcSize, spx_coef_t); + ALLOC(awk2, st->lpcSize, spx_coef_t); + ALLOC(awk3, st->lpcSize, spx_coef_t); for (sub=0;sub<st->nbSubframes;sub++) { |