From a21429e134d4fa965e8a35c2cf1156bee3284dbd Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Sun, 15 Jun 2025 10:38:43 +0200 Subject: [PATCH] avfilter/af_aresample: make aresample return FFERROR_NOT_READY when no progress can be made FF_FILTER_FORWARD_WANTED() already sets the ready status as needed. Signed-off-by: Marton Balint --- libavfilter/af_aresample.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavfilter/af_aresample.c b/libavfilter/af_aresample.c index 703fb7c92d..4b3a732bb9 100644 --- a/libavfilter/af_aresample.c +++ b/libavfilter/af_aresample.c @@ -354,8 +354,7 @@ static int activate(AVFilterContext *ctx) return ff_filter_frame(outlink, outsamplesref); } - ff_filter_set_ready(ctx, 100); - return 0; + return FFERROR_NOT_READY; } static const AVClass *resample_child_class_iterate(void **iter)