Commit f3f5eb6e authored by Stefano Sabatini's avatar Stefano Sabatini

Document url_filesize().

Originally committed as revision 25268 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 0a216bd1
...@@ -165,6 +165,11 @@ int url_close(URLContext *h); ...@@ -165,6 +165,11 @@ int url_close(URLContext *h);
*/ */
int url_exist(const char *url); int url_exist(const char *url);
/**
* 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 url_filesize(URLContext *h); int64_t url_filesize(URLContext *h);
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment