Build fix.
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 18 Apr 2009 12:46:54 +0000 (13:46 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 18 Apr 2009 12:46:54 +0000 (13:46 +0100)
clients/playrtp.c

index bb780d8..90199c4 100644 (file)
@@ -404,7 +404,7 @@ static void *listen_thread(void attribute((unused)) *arg) {
     }
     /* See if packet is silent */
     const uint16_t *s = p->samples_raw;
-    unsigned n = p->nsamples;
+    n = p->nsamples;
     for(; n > 0; --n)
       if(*s++)
         break;