From 32a97d4630e8e742cba0344054842ed059dda807 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 31 Mar 2011 17:46:00 +0200 Subject: avio: make url_filesize() internal. --- libavformat/url.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavformat/url.h') 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 -- cgit v1.2.3