diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 17:46:00 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 17:45:20 +0200 |
commit | 32a97d4630e8e742cba0344054842ed059dda807 (patch) | |
tree | 2825088b87b7a7ad4a09d9770efe387ebd395382 /libavformat/url.h | |
parent | e52a9145c8bf0748ae970e210e528ff56508964c (diff) | |
download | ffmpeg-32a97d4630e8e742cba0344054842ed059dda807.tar.gz |
avio: make url_filesize() internal.
Diffstat (limited to 'libavformat/url.h')
-rw-r--r-- | libavformat/url.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/url.h b/libavformat/url.h index 2ec3eb4a46..df3cb46df9 100644 --- a/libavformat/url.h +++ b/libavformat/url.h @@ -111,4 +111,11 @@ int64_t ffurl_seek(URLContext *h, int64_t pos, int whence); */ int ffurl_close(URLContext *h); +/** + * Return the filesize of the resource accessed by h, AVERROR(ENOSYS) + * if the operation is not supported by h, or another negative value + * corresponding to an AVERROR error code in case of failure. + */ +int64_t ffurl_size(URLContext *h); + #endif //AVFORMAT_URL_H |