diff --git a/libavfilter/af_asyncts.c b/libavfilter/af_asyncts.c
index 214cefd20bd13e31ea04f722a94597638ce98472..209fc4c56f08645667d432ae9a84f46724fc5be0 100644
--- a/libavfilter/af_asyncts.c
+++ b/libavfilter/af_asyncts.c
@@ -139,8 +139,7 @@ static int request_frame(AVFilterLink *link)
     int nb_samples;
 
     s->got_output = 0;
-    while (ret >= 0 && !s->got_output)
-        ret = ff_request_frame(ctx->inputs[0]);
+    ret = ff_request_frame(ctx->inputs[0]);
 
     /* flush the fifo */
     if (ret == AVERROR_EOF) {