[xiph-commits] r7129 - branches/rel-1-0-branch/speex/src

oddsock at dactyl.lonelymoon.com oddsock
Wed Jul 14 21:23:45 PDT 2004


Author: oddsock
Date: Wed Jul 14 21:23:45 2004
New Revision: 7129

Modified:
branches/rel-1-0-branch/speex/src/speexdec.c
Log:
moved declaration of integer up to the top of the code block (win32 complained about it)

Modified: branches/rel-1-0-branch/speex/src/speexdec.c
===================================================================
--- branches/rel-1-0-branch/speex/src/speexdec.c	2004-07-15 01:55:52 UTC (rev 7128)
+++ branches/rel-1-0-branch/speex/src/speexdec.c	2004-07-15 04:23:43 UTC (rev 7129)
@@ -624,8 +624,8 @@
{
/* Ignore extra headers */
} else {
+               int lost=0;
packet_no++;
-               int lost=0;
if (loss_percent>0 && 100*((float)rand())/RAND_MAX<loss_percent)
lost=1;




More information about the commits mailing list