chiark / gitweb /
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 bb780d8a8d809ea8650d2ef85899e015fe79eeac..90199c4944315a276e0a04bfc429b5bc5539d27a 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;