[FFmpeg-cvslog] lavfi/af_asyncts: remove looping on request_frame().
Nicolas George
git at videolan.org
Sat Nov 7 18:57:28 CET 2015
ffmpeg | branch: master | Nicolas George <george at nsup.org> | Sat Oct 24 16:01:22 2015 +0200| [785ac437be6b8e12bf58bc2c53547a891cd7d5f1] | committer: Nicolas George
lavfi/af_asyncts: remove looping on request_frame().
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=785ac437be6b8e12bf58bc2c53547a891cd7d5f1
---
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 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) {
More information about the ffmpeg-cvslog
mailing list