[xiph-commits] r14221 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Fri Nov 23 04:34:54 PST 2007
Author: jm
Date: 2007-11-23 04:34:54 -0800 (Fri, 23 Nov 2007)
New Revision: 14221
Modified:
trunk/speex/libspeex/bits.c
trunk/speex/libspeex/jitter.c
trunk/speex/libspeex/ltp.c
Log:
Removed some warnings
Modified: trunk/speex/libspeex/bits.c
===================================================================
--- trunk/speex/libspeex/bits.c 2007-11-23 12:04:59 UTC (rev 14220)
+++ trunk/speex/libspeex/bits.c 2007-11-23 12:34:54 UTC (rev 14221)
@@ -146,7 +146,6 @@
static void speex_bits_flush(SpeexBits *bits)
{
- int i;
int nchars = ((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR);
if (bits->charPtr>0)
SPEEX_MOVE(bits->chars, &bits->chars[bits->charPtr], nchars-bits->charPtr);
Modified: trunk/speex/libspeex/jitter.c
===================================================================
--- trunk/speex/libspeex/jitter.c 2007-11-23 12:04:59 UTC (rev 14220)
+++ trunk/speex/libspeex/jitter.c 2007-11-23 12:34:54 UTC (rev 14221)
@@ -474,7 +474,7 @@
{
int found = 0;
/* Find the oldest packet */
- spx_uint32_t oldest;
+ spx_uint32_t oldest=0;
for (i=0;i<SPEEX_JITTER_MAX_BUFFER_SIZE;i++)
{
if (jitter->packets[i].data && (!found || LT32(jitter->packets[i].timestamp,oldest)))
Modified: trunk/speex/libspeex/ltp.c
===================================================================
--- trunk/speex/libspeex/ltp.c 2007-11-23 12:04:59 UTC (rev 14220)
+++ trunk/speex/libspeex/ltp.c 2007-11-23 12:34:54 UTC (rev 14221)
@@ -548,7 +548,7 @@
spx_word32_t *cumul_gain
)
{
- int i,j;
+ int i;
int cdbk_index, pitch=0, best_gain_index=0;
VARDECL(spx_sig_t *best_exc);
VARDECL(spx_word16_t *new_target);
More information about the commits
mailing list