diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-17 16:03:31 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-21 03:33:05 +0300 |
commit | 8d9769a77b49b0d633c835d99ed3c0aa3f3b77a1 (patch) | |
tree | 076d641377925a01ef21152baf9375a9d50065a9 /libavformat/avio.h | |
parent | 447fe3369177c11a49a3d376cfa3a2be468ac913 (diff) |
avio: deprecate url_fileno
It's an evil hack that assumes an AVIOContext is always based on top of
an URLContext.
It's also not used anywhere.
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, 2 insertions, 1 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index e9d3b1752b..1b483b3a4d 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -623,9 +623,10 @@ int url_resetbuf(AVIOContext *s, int flags); int avio_open(AVIOContext **s, const char *url, int flags); int avio_close(AVIOContext *s); -URLContext *url_fileno(AVIOContext *s); #if FF_API_OLD_AVIO +attribute_deprecated URLContext *url_fileno(AVIOContext *s); + /** * @deprecated use AVIOContext.max_packet_size directly. */ |