From 44df09bbbd598342552b08592a0c1cc5ee289db5 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 29 Nov 2008 00:58:03 +0100 Subject: [PATCH] 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. --- filter_chain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5