moved declaration of integer up to the top of code block in speexdec.c
authorconrad <conrad@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Thu, 15 Jul 2004 07:35:43 +0000 (07:35 +0000)
committerconrad <conrad@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Thu, 15 Jul 2004 07:35:43 +0000 (07:35 +0000)
(merged r7129 by oddsock)

git-svn-id: http://svn.xiph.org/trunk/speex@7134 0101bb08-14d6-0310-b084-bc0e0c8e3800

src/speexdec.c

index 6a98b92..479070a 100644 (file)
@@ -631,8 +631,8 @@ int main(int argc, char **argv)
             {
                /* Ignore extra headers */
             } else {
-               packet_no++;
                int lost=0;
+               packet_no++;
                if (loss_percent>0 && 100*((float)rand())/RAND_MAX<loss_percent)
                   lost=1;