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.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=6573529d8d28ab8e49e1b2f83cc7e8378c5f4605;hp=ea2d9b85ed4342c3509c1fde2229fe68ac4728cf 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;