]> code.delx.au - pulseaudio/blobdiff - polyp/memblockq.c
move sample cache to namereg
[pulseaudio] / polyp / memblockq.c
index bc5d743715515f31d34a860ebf9f30210fde2824..085c05108ff7298a6acb2c83dfb3727a0010fde3 100644 (file)
@@ -189,9 +189,9 @@ int memblockq_pop(struct memblockq* bq, struct pa_memchunk *chunk) {
 */
 
 static uint32_t age(struct timeval *tv) {
-    assert(tv);
     struct timeval now;
     uint32_t r;
+    assert(tv);
 
     if (tv->tv_sec == 0)
         return 0;