]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - opusdec_filter.c
opusdec: Fix busy loop.
[paraslash.git] / opusdec_filter.c
index c3b405cc338df6666342e863aa3a0ac053ea8500..56a39bf0d56e8e0f0836169412a0eeb81cf35c85 100644 (file)
@@ -277,7 +277,7 @@ static void opusdec_pre_select(struct sched *s, struct task *t)
 
        if (ret != 0)
                return sched_min_delay(s);
-       if (ctx->have_more)
+       if (!ctx->have_more)
                return;
        if (btr_get_output_queue_size(fn->btrn) <= OPUSDEC_MAX_OUTPUT_SIZE)
                return sched_min_delay(s);