[FFmpeg-cvslog] ffmpeg: do not warn when expecting EOF from lavfi.
Clément Bœsch
git at videolan.org
Thu May 17 16:56:18 CEST 2012
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Thu May 17 16:28:19 2012 +0200| [1bca73cf1850f2ca3c438ad3a4cec548f3d4f72e] | committer: Clément Bœsch
ffmpeg: do not warn when expecting EOF from lavfi.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1bca73cf1850f2ca3c438ad3a4cec548f3d4f72e
---
ffmpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 75e0287..92c7444 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,
More information about the ffmpeg-cvslog
mailing list