lavfi/af_asyncts: remove looping on request_frame().
authorNicolas George <george@nsup.org>
Sat, 24 Oct 2015 14:01:22 +0000 (16:01 +0200)
committerNicolas George <george@nsup.org>
Sat, 7 Nov 2015 15:43:36 +0000 (16:43 +0100)
libavfilter/af_asyncts.c

index 214cefd..209fc4c 100644 (file)
@@ -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) {