[xiph-commits] r14200 - in trunk/speex: . libspeex

jm at svn.xiph.org jm at svn.xiph.org
Tue Nov 20 06:36:55 PST 2007


Author: jm
Date: 2007-11-20 06:36:55 -0800 (Tue, 20 Nov 2007)
New Revision: 14200

Modified:
   trunk/speex/TODO
   trunk/speex/libspeex/nb_celp.c
Log:
Fixed an overflow in dead code.


Modified: trunk/speex/TODO
===================================================================
--- trunk/speex/TODO	2007-11-20 14:33:26 UTC (rev 14199)
+++ trunk/speex/TODO	2007-11-20 14:36:55 UTC (rev 14200)
@@ -2,14 +2,13 @@
 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

Modified: trunk/speex/libspeex/nb_celp.c
===================================================================
--- trunk/speex/libspeex/nb_celp.c	2007-11-20 14:33:26 UTC (rev 14199)
+++ trunk/speex/libspeex/nb_celp.c	2007-11-20 14:36:55 UTC (rev 14200)
@@ -705,8 +705,7 @@
          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");*/



More information about the commits mailing list