提交 7a2c380e 编写于 作者: M Michael Niedermayer

avformat/aviobuf: remove uses of deprecated url_feof()

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 5403a288
......@@ -555,7 +555,7 @@ int avio_read(AVIOContext *s, unsigned char *buf, int size)
}
if (size1 == size) {
if (s->error) return s->error;
if (url_feof(s)) return AVERROR_EOF;
if (avio_feof(s)) return AVERROR_EOF;
}
return size1 - size;
}
......@@ -604,7 +604,7 @@ int ffio_read_partial(AVIOContext *s, unsigned char *buf, int size)
s->buf_ptr += len;
if (!len) {
if (s->error) return s->error;
if (url_feof(s)) return AVERROR_EOF;
if (avio_feof(s)) return AVERROR_EOF;
}
return len;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册