From: Andre Date: Fri, 22 Dec 2006 00:08:38 +0000 (+0100) Subject: fix a bug in filter_chain() X-Git-Tag: v0.2.15~120^2~1 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=6573529d8d28ab8e49e1b2f83cc7e8378c5f4605;p=paraslash.git fix a bug in filter_chain() Under certain circumstances para_filter failed to write out the last chunk of audio data due to a bogus eof check triggering. The fix consists in simply killing that check. --- diff --git a/filter_chain.c b/filter_chain.c index 3684ee6b..70c3d395 100644 --- a/filter_chain.c +++ b/filter_chain.c @@ -124,8 +124,6 @@ void filter_pre_select(__a_unused struct sched *s, struct task *t) t->ret = -E_FC_EOF; if (fc->output_eof && *fc->output_eof) goto err_out; - if (fc->input_eof && *fc->input_eof && !*fc->in_loaded) - goto err_out; again: ib = fc->inbuf; loaded = fc->in_loaded;