X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mp3dec_filter.c;h=5f6935d1a5be70c7fa89dd0368bca48e34664422;hp=feaa1d1f03f9a9a4bd4b0d6f1984219b480099ad;hb=87f0cdf5e33cd50af029c6f79ca8fab943490209;hpb=42ddd68159d7eff0f3e7c225665c97f9abd59425 diff --git a/mp3dec_filter.c b/mp3dec_filter.c index feaa1d1f..5f6935d1 100644 --- a/mp3dec_filter.c +++ b/mp3dec_filter.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2014 Andre Noll + * Copyright (C) 2005 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -77,9 +77,9 @@ static void mp3dec_close(struct filter_node *fn) #define MP3DEC_MAX_FRAME 8192 -static int mp3dec_post_select(__a_unused struct sched *s, struct task *t) +static int mp3dec_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 i, ret; struct private_mp3dec_data *pmd = fn->private_data; struct btr_node *btrn = fn->btrn;