catblob: Fix "no matches" message.
[paraslash.git] / wav_filter.c
index 63c7b7eb6752ed50126c6b5a3d9900d9a1f8030e..8408034d905c6f20eb375385d638de31a43df0e3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2010 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2011 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -72,8 +72,7 @@ static void wav_pre_select(struct sched *s, struct task *t)
        t->error = 0;
        if (iqs == 0)
                return;
-       s->timeout.tv_sec = 0;
-       s->timeout.tv_usec = 1;
+       sched_min_delay(s);
 }
 
 static void wav_post_select(__a_unused struct sched *s, struct task *t)