]> git.sesse.net Git - ffmpeg/commitdiff
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 214cefd20bd13e31ea04f722a94597638ce98472..209fc4c56f08645667d432ae9a84f46724fc5be0 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) {