]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - wmadec_filter.c
sched: Directly pass context pointer to pre/post_select().
[paraslash.git] / wmadec_filter.c
index e4afbb56ab2d82d8d482cf27ec1eb7f96c1e5832..562bc2513c94c445805d0639d647e73a39b05506 100644 (file)
@@ -1213,9 +1213,9 @@ static int wmadec_execute(struct btr_node *btrn, const char *cmd, char **result)
 
 #define WMA_OUTPUT_BUFFER_SIZE (128 * 1024)
 
-static int wmadec_post_select(__a_unused struct sched *s, struct task *t)
+static int wmadec_post_select(__a_unused struct sched *s, void *context)
 {
-       struct filter_node *fn = task_context(t);
+       struct filter_node *fn = context;
        int ret, converted, out_size;
        struct private_wmadec_data *pwd = fn->private_data;
        struct btr_node *btrn = fn->btrn;