[FFmpeg-devel] [PATCH 7/7] lavfi/af_asyncts: remove looping on request_frame().
Nicolas George
george at nsup.org
Sat Oct 24 19:02:49 CEST 2015
Signed-off-by: Nicolas George <george at nsup.org>
---
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) {
--
2.6.1
More information about the ffmpeg-devel
mailing list