1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

lavfi/af_asyncts: remove looping on request_frame().

This commit is contained in:
Nicolas George
2015-10-24 16:01:22 +02:00
parent a08fb3983f
commit 785ac437be

View File

@@ -139,8 +139,7 @@ static int request_frame(AVFilterLink *link)
int nb_samples; int nb_samples;
s->got_output = 0; 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 */ /* flush the fifo */
if (ret == AVERROR_EOF) { if (ret == AVERROR_EOF) {