Add url_get_file_handle(), which is used to get the file descriptor
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 3 Mar 2009 17:04:51 +0000 (17:04 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 3 Mar 2009 17:04:51 +0000 (17:04 +0000)
commitf0a80394645ce436307d3d458878689411a44ba7
tree78da33e8ec44b8767300dcf5fca4b3e6213fbdd4
parent2fea965070a96a04a46513cc524ac4cfcf622fd8
Add url_get_file_handle(), which is used to get the file descriptor
associated with the I/O handle (e.g. the fd returned by open()). See
"[RFC] rtsp.c EOF support" thread.

There were previously some URI-specific implementations of the same idea,
e.g. rtp_get_file_handles() and udp_get_file_handle(). All of these are
deprecated by this patch and will be removed at the next major API bump.

Originally committed as revision 17779 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/avio.c
libavformat/avio.h
libavformat/file.c
libavformat/http.c
libavformat/rtpdec.h
libavformat/rtpproto.c
libavformat/rtsp.c
libavformat/tcp.c
libavformat/udp.c