diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-07 23:50:25 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-08 01:20:31 +0300 |
commit | 66e5b1df360a28b083bc9ec5a76e7add5f40ce1f (patch) | |
tree | 2de95f70d35fd95832de9db9c1061270dcf8ae19 /libavformat/avio.h | |
parent | 6a7e074eb98c4d45898d7f2920312db6899ee650 (diff) |
avio: deprecate url_feof
AVIOContext.eof_reached should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 8bae263833..2949629d57 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -432,6 +432,11 @@ attribute_deprecated int url_fgetc(AVIOContext *s); /** * @} */ + +/** + * @deprecated use AVIOContext.eof_reached + */ +attribute_deprecated int url_feof(AVIOContext *s); #endif AVIOContext *avio_alloc_context( @@ -494,12 +499,6 @@ int64_t avio_seek(AVIOContext *s, int64_t offset, int whence); */ int64_t avio_size(AVIOContext *s); -/** - * feof() equivalent for AVIOContext. - * @return non zero if and only if end of file - */ -int url_feof(AVIOContext *s); - int url_ferror(AVIOContext *s); int av_url_read_fpause(AVIOContext *h, int pause); |