diff options
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | libspeex/nb_celp.c | 3 |
2 files changed, 2 insertions, 4 deletions
@@ -2,14 +2,13 @@ For 1.2beta3: Control delay in new AEC API. Implement speex_header_free() better error reporting -get rid of floats in initialisation (make the lag window a const array) -split encoder and decoder? improve float<->int conversion NaN checks? Eventually: Fix last frame of speexenc +split encoder and decoder? Merge TriMedia stuff packet dump Do VAD properly diff --git a/libspeex/nb_celp.c b/libspeex/nb_celp.c index b1d8592..171f337 100644 --- a/libspeex/nb_celp.c +++ b/libspeex/nb_celp.c @@ -705,8 +705,7 @@ int nb_encode(void *state, void *vin, SpeexBits *bits) bw_lpc(st->gamma2, interp_lpc, bw_lpc2, st->lpcSize); else { - bw_lpc2[0]=1; - for (i=1;i<=st->lpcSize;i++) + for (i=0;i<st->lpcSize;i++) bw_lpc2[i]=0; } /*print_vec(st->bw_lpc1, 10, "bw_lpc");*/ |