X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=wav_filter.c;h=eaef1f5cca7b79c4b532d91dda239aaa7e53c0ee;hp=ccf923e97f160f8cadff6ddd3040468b37a5d145;hb=072391fccbd052334dbd836d451f2be0a74a0685;hpb=6c871994f08bb6e20374a67f7b07de97b8042434 diff --git a/wav_filter.c b/wav_filter.c index ccf923e9..eaef1f5c 100644 --- a/wav_filter.c +++ b/wav_filter.c @@ -113,7 +113,7 @@ static int wav_post_select(__a_unused struct sched *s, struct task *t) ret = -E_WAV_SUCCESS; err: if (ret == -E_WAV_SUCCESS) - btr_splice_out_node(btrn); + btr_splice_out_node(&fn->btrn); else { btr_remove_node(&fn->btrn); PARA_ERROR_LOG("%s\n", para_strerror(-ret)); @@ -131,6 +131,5 @@ void wav_filter_init(struct filter *f) f->close = wav_close; f->open = wav_open; f->pre_select = wav_pre_select; - f->new_post_select = wav_post_select; - f->post_select = NULL; + f->post_select = wav_post_select; }