From 1bca73cf1850f2ca3c438ad3a4cec548f3d4f72e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Thu, 17 May 2012 16:28:19 +0200 Subject: [PATCH] ffmpeg: do not warn when expecting EOF from lavfi. --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 75e0287bf5..92c7444779 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -1964,7 +1964,7 @@ static int poll_filters(void) AV_BUFFERSINK_FLAG_NO_REQUEST); #endif if (ret < 0) { - if (ret != AVERROR(EAGAIN)) { + if (ret != AVERROR(EAGAIN) && ret != AVERROR_EOF) { char buf[256]; av_strerror(ret, buf, sizeof(buf)); av_log(NULL, AV_LOG_WARNING,