ffmpeg: do not warn when expecting EOF from lavfi.

This commit is contained in:
Clément Bœsch 2012-05-17 16:28:19 +02:00
parent 3ae64dc48f
commit 1bca73cf18
1 changed files with 1 additions and 1 deletions

View File

@ -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,