diff options
author | Nicolas George <george@nsup.org> | 2015-10-24 16:01:22 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2015-11-07 16:43:36 +0100 |
commit | 785ac437be6b8e12bf58bc2c53547a891cd7d5f1 (patch) | |
tree | 8d31a9a7448ed5eeb524db6902e257bf0cc382d2 /libavfilter/af_asyncts.c | |
parent | a08fb3983f2e2adeff1c948d2e744d606ac4219b (diff) | |
download | ffmpeg-streaming-785ac437be6b8e12bf58bc2c53547a891cd7d5f1.zip ffmpeg-streaming-785ac437be6b8e12bf58bc2c53547a891cd7d5f1.tar.gz |
lavfi/af_asyncts: remove looping on request_frame().
Diffstat (limited to 'libavfilter/af_asyncts.c')
-rw-r--r-- | libavfilter/af_asyncts.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/af_asyncts.c b/libavfilter/af_asyncts.c index 214cefd..209fc4c 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) { |