Introduce btr_node_status() and add btr support to the file writer.
[paraslash.git] / aacdec_filter.c
index cb27633..ad1c06a 100644 (file)
@@ -220,11 +220,12 @@ static void aacdec_post_select(__a_unused struct sched *s, struct task *t)
 
 next_buffer:
        t->error = 0;
-       ret = prepare_filter_node(fn);
+       ret = btr_node_status(btrn, fn->min_iqs);
        if (ret < 0)
                goto err;
        if (ret == 0)
                return;
+       btr_merge(btrn, fn->min_iqs);
        len = btr_next_buffer(btrn, (char **)&inbuf);
        iqs = btr_get_input_queue_size(btrn);
        if (!padd->initialized) {