diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-14 20:38:55 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-15 08:04:28 -0400 |
commit | 3e68b3ba7b015cf2154ad2023781eedd47f0f4bb (patch) | |
tree | e8bb2171e7b2131883024b901941343998b84c07 /libavformat/avio.h | |
parent | 75b9ed04b977bfd467816f7e60c6511ef89b8a2b (diff) | |
download | ffmpeg-3e68b3ba7b015cf2154ad2023781eedd47f0f4bb.tar.gz |
avio: deprecate url_ferror
AVIOContext.error 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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 2949629d57..b8f9c588cc 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -437,6 +437,7 @@ attribute_deprecated int url_fgetc(AVIOContext *s); * @deprecated use AVIOContext.eof_reached */ attribute_deprecated int url_feof(AVIOContext *s); +attribute_deprecated int url_ferror(AVIOContext *s); #endif AVIOContext *avio_alloc_context( @@ -499,8 +500,6 @@ int64_t avio_seek(AVIOContext *s, int64_t offset, int whence); */ int64_t avio_size(AVIOContext *s); -int url_ferror(AVIOContext *s); - int av_url_read_fpause(AVIOContext *h, int pause); int64_t av_url_read_fseek(AVIOContext *h, int stream_index, int64_t timestamp, int flags); |