sched: Directly pass context pointer to pre/post_select().
[paraslash.git] / spxdec_filter.c
index a1ff3ddb018011eadffc3b6b0975334e33b52dab..8b29007c67e5a7299c52cf8aada7875bef964a48 100644 (file)
@@ -238,9 +238,9 @@ static int compute_skip_samples(ogg_page *og, struct private_spxdec_data *psd)
        return ret;
 }
 
-static int speexdec_post_select(__a_unused struct sched *s, struct task *t)
+static int speexdec_post_select(__a_unused struct sched *s, void *context)
 {
-       struct filter_node *fn = task_context(t);
+       struct filter_node *fn = context;
        struct private_spxdec_data *psd = fn->private_data;
        struct btr_node *btrn = fn->btrn;
        int ret, ns;