From: Andre Noll Date: Fri, 28 Nov 2008 23:58:03 +0000 (+0100) Subject: filter: Call the convert function even if the input buffer is empty. X-Git-Tag: v0.3.3~11 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=44df09bbbd598342552b08592a0c1cc5ee289db5 filter: Call the convert function even if the input buffer is empty. At least the ogg vorbis decoder might still produce output in this case. --- diff --git a/filter_chain.c b/filter_chain.c index 1a290247..fa8637ef 100644 --- a/filter_chain.c +++ b/filter_chain.c @@ -124,7 +124,7 @@ again: conv = 0; FOR_EACH_FILTER_NODE(fn, fc, i) { struct filter *f = filters + fn->filter_num; - if (*loaded && fn->loaded < fn->bufsize) { + if (fn->loaded < fn->bufsize) { size_t size, old_fn_loaded = fn->loaded; // PARA_DEBUG_LOG("fc %p loaded: %zd, calling %s convert\n", // fc, *loaded, fn->filter->name);