]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aacdec_filter.c
sched: kill task->dead.
[paraslash.git] / aacdec_filter.c
index 3ff90834c62bb75f179e5778ef02f6d23feb0d09..12de909cb6cecca2a3abc4c027177bc31b91ab5d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2013 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2014 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -82,7 +82,7 @@ static void aacdec_close(struct filter_node *fn)
 
 static int aacdec_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;
        struct private_aacdec_data *padd = fn->private_data;
        int i, ret;