diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-17 14:03:31 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-20 20:33:05 -0400 |
commit | 8d9769a77b49b0d633c835d99ed3c0aa3f3b77a1 (patch) | |
tree | 076d641377925a01ef21152baf9375a9d50065a9 /libavformat/aviobuf.c | |
parent | 447fe3369177c11a49a3d376cfa3a2be468ac913 (diff) | |
download | ffmpeg-8d9769a77b49b0d633c835d99ed3c0aa3f3b77a1.tar.gz |
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/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 4cd3bdc47d..9f0f292aff 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -923,10 +923,12 @@ int avio_close(AVIOContext *s) return url_close(h); } +#if FF_API_OLD_AVIO URLContext *url_fileno(AVIOContext *s) { return s->opaque; } +#endif int avio_printf(AVIOContext *s, const char *fmt, ...) { |