[xiph-commits] r7134 - trunk/speex/src

conrad at dactyl.lonelymoon.com conrad
Thu Jul 15 00:35:44 PDT 2004


Author: conrad
Date: Thu Jul 15 00:35:44 2004
New Revision: 7134

Modified:
trunk/speex/src/speexdec.c
Log:
moved declaration of integer up to the top of code block in speexdec.c
(merged r7129 by oddsock)


Modified: trunk/speex/src/speexdec.c
===================================================================
--- trunk/speex/src/speexdec.c	2004-07-15 07:29:52 UTC (rev 7133)
+++ trunk/speex/src/speexdec.c	2004-07-15 07:35:43 UTC (rev 7134)
@@ -631,8 +631,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