From 785ac437be6b8e12bf58bc2c53547a891cd7d5f1 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Sat, 24 Oct 2015 16:01:22 +0200 Subject: [PATCH] lavfi/af_asyncts: remove looping on request_frame(). --- libavfilter/af_asyncts.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavfilter/af_asyncts.c b/libavfilter/af_asyncts.c index 214cefd20b..209fc4c56f 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) {