Fixes #6424.

Signed-off-by: Paul B Mahol <one...@gmail.com>
---
 libavfilter/af_amix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c
index 9fe505b..e06c753 100644
--- a/libavfilter/af_amix.c
+++ b/libavfilter/af_amix.c
@@ -288,7 +288,7 @@ static int output_frame(AVFilterLink *outlink)
                 if (ns < nb_samples) {
                     if (!(s->input_state[i] & INPUT_EOF))
                         /* unclosed input with not enough samples */
-                        return 0;
+                        return ff_request_frame(ctx->inputs[i]);
                     /* closed input to drain */
                     nb_samples = ns;
                 }
-- 
2.9.3

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to