diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 17:51:24 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 17:45:20 +0200 |
commit | 1869ea03b7fb8e3db2f034f4214e03bd3f8b3d30 (patch) | |
tree | 06b04228af62545e07c141a5d8f4c9fbb12b78c6 /libavformat/url.h | |
parent | 32a97d4630e8e742cba0344054842ed059dda807 (diff) | |
download | ffmpeg-1869ea03b7fb8e3db2f034f4214e03bd3f8b3d30.tar.gz |
avio: make url_get_file_handle() internal.
Diffstat (limited to 'libavformat/url.h')
-rw-r--r-- | libavformat/url.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavformat/url.h b/libavformat/url.h index df3cb46df9..eea9678ddc 100644 --- a/libavformat/url.h +++ b/libavformat/url.h @@ -118,4 +118,12 @@ int ffurl_close(URLContext *h); */ int64_t ffurl_size(URLContext *h); +/** + * Return the file descriptor associated with this URL. For RTP, this + * will return only the RTP file descriptor, not the RTCP file descriptor. + * + * @return the file descriptor associated with this URL, or <0 on error. + */ +int ffurl_get_file_handle(URLContext *h); + #endif //AVFORMAT_URL_H |