]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - fecdec_filter.c
task_register() conversion: audioc task
[paraslash.git] / fecdec_filter.c
index 691d696af6e3972ac9f2becf68c0712873fe9624..9d34106db7562b5bc1c6ab419bf955dc15eb9572 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009-2013 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2009-2014 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -438,7 +438,7 @@ static void fecdec_close(struct filter_node *fn)
 
 static int fecdec_post_select(__a_unused struct sched *s, struct task *t)
 {
-       struct filter_node *fn = container_of(t, struct filter_node, task);
+       struct filter_node *fn = task_context(t);
        struct btr_node *btrn = fn->btrn;
        int ret;
        struct fec_header h;