audiod: Kill noisy debug message.
[paraslash.git] / wmadec_filter.c
index 7c25a74..49f69b5 100644 (file)
@@ -1239,7 +1239,7 @@ static void wmadec_post_select(__a_unused struct sched *s, struct task *t)
 next_buffer:
        converted = 0;
        t->error = 0;
-       ret = btr_node_status(btrn, fn->min_iqs);
+       ret = btr_node_status(btrn, fn->min_iqs, BTR_NT_INTERNAL);
        if (ret < 0)
                goto err;
        if (ret == 0)
@@ -1265,7 +1265,7 @@ next_buffer:
        for (;;) {
                char *out;
                int out_size = WMA_OUTPUT_BUFFER_SIZE;
-               if (converted + WMA_FRAME_SKIP + pwd->ahi.block_align > len)
+               if (converted + fn->min_iqs > len)
                        break;
                out = para_malloc(WMA_OUTPUT_BUFFER_SIZE);
                ret = wma_decode_superframe(pwd, out,