X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=opusdec_filter.c;h=292d83c9f960ce1332e029c4addd231a8e7f7cb1;hb=db74b8bd5f82f4a72cdf5ad6c85dd723e4a386ab;hp=56a39bf0d56e8e0f0836169412a0eeb81cf35c85;hpb=241a0d21827794701ad5750e078b409d3a42459e;p=paraslash.git diff --git a/opusdec_filter.c b/opusdec_filter.c index 56a39bf0..292d83c9 100644 --- a/opusdec_filter.c +++ b/opusdec_filter.c @@ -2,7 +2,7 @@ * Copyright (c) 2002-2007 Jean-Marc Valin * Copyright (c) 2008 CSIRO * Copyright (c) 2007-2012 Xiph.Org Foundation - * Copyright (C) 2012-2013 Andre Noll + * Copyright (C) 2012-2014 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -209,7 +209,7 @@ static int decode_packet(struct opusdec_context *ctx, ogg_packet *op, static int opusdec_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 opusdec_context *ctx = fn->private_data; struct btr_node *btrn = fn->btrn; int ret; @@ -271,7 +271,7 @@ out: static void opusdec_pre_select(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 opusdec_context *ctx = fn->private_data; int ret = btr_node_status(fn->btrn, fn->min_iqs, BTR_NT_INTERNAL);