fix a bug in filter_chain()
authorAndre <maan@meins.(none)>
Fri, 22 Dec 2006 00:08:38 +0000 (01:08 +0100)
committerAndre <maan@meins.(none)>
Fri, 22 Dec 2006 00:08:38 +0000 (01:08 +0100)
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.

filter_chain.c

index 3684ee6..70c3d39 100644 (file)
@@ -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;