]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
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 3684ee6b0304b8c5a381d1b2ce8d06a3aff339bb..70c3d39554a8b2414b37a515a3977d428b6173b2 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;
        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;
 again:
        ib = fc->inbuf;
        loaded = fc->in_loaded;