summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-05-17 16:28:19 +0200
committerClément Bœsch <ubitux@gmail.com>2012-05-17 16:28:19 +0200
commit1bca73cf1850f2ca3c438ad3a4cec548f3d4f72e (patch)
tree17701e358bdd3b9554689205f5d458e9bc620f27 /ffmpeg.c
parent3ae64dc48ff781717cb3b19c51740b128b8bb732 (diff)
ffmpeg: do not warn when expecting EOF from lavfi.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
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,