Add btr support to the oggdec filter.
[paraslash.git] / wav_filter.c
index 7a3c59b..91d87e7 100644 (file)
@@ -147,13 +147,12 @@ static void wav_post_select(__a_unused struct sched *s, struct task *t)
        header = para_malloc(WAV_HEADER_LEN);
        make_wav_header(ch, rate, header);
        btr_add_output(header, WAV_HEADER_LEN, btrn);
-       btr_pushdown(btrn);
        ret = -E_WAV_SUCCESS;
 err:
        t->error = ret;
        wav_close(fn);
        if (ret == -E_WAV_SUCCESS)
-               ret = btr_splice_out_node(btrn);
+               btr_splice_out_node(btrn);
        else {
                btr_del_node(btrn);
                PARA_ERROR_LOG("%s\n", para_strerror(-ret));