]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aacdec_filter.c
Introduce btr_node_status() and add btr support to the file writer.
[paraslash.git] / aacdec_filter.c
index cb27633ca1a0cc411c5452deb82e94f886756cd4..ad1c06a0183192b1b8e3634826d725835ac6ccd8 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) {