X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=wmadec_filter.c;h=6b7251ee06338d1c1b50b4cd5eb674a6958ee0c0;hp=fdca2814d76a44db720752e2c99d10d9df7bbe5c;hb=99708bef7ad12ccb9399186f6055004d11bcf3db;hpb=be7eec0e9944f493af023164fb2b0e9e48787f1e diff --git a/wmadec_filter.c b/wmadec_filter.c index fdca2814..6b7251ee 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -17,11 +17,7 @@ #define _XOPEN_SOURCE 600 -#include -#include -#include #include -#include #include #include @@ -1203,9 +1199,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 = container_of(t, struct filter_node, task); + struct filter_node *fn = context; int ret, converted, out_size; struct private_wmadec_data *pwd = fn->private_data; struct btr_node *btrn = fn->btrn;