diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-06 19:59:29 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-07 10:51:21 -0500 |
commit | e51975392d85e72801193123945a35fb5221248f (patch) | |
tree | 3d08f63c4b923608f59a81b3705e6ed92492c54a /libavformat/avio.h | |
parent | 655e45e7dfafc494044cc52f8889fc6da75eff6a (diff) | |
download | ffmpeg-e51975392d85e72801193123945a35fb5221248f.tar.gz |
avio: deprecate url_fgetc and remove all it uses
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index a3bf5c01d4..22f11bb6ba 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -426,6 +426,8 @@ attribute_deprecated int url_fclose(AVIOContext *s); attribute_deprecated int64_t url_fseek(AVIOContext *s, int64_t offset, int whence); attribute_deprecated int url_fskip(AVIOContext *s, int64_t offset); attribute_deprecated int64_t url_ftell(AVIOContext *s); +#define URL_EOF (-1) +attribute_deprecated int url_fgetc(AVIOContext *s); /** * @} */ @@ -503,10 +505,6 @@ 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); -#define URL_EOF (-1) -/** @note return URL_EOF (-1) if EOF */ -int url_fgetc(AVIOContext *s); - /** @warning currently size is limited */ #ifdef __GNUC__ int url_fprintf(AVIOContext *s, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); |