From f3f5eb6e70f46fb2f0c06efed198b31a72ee1f29 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 30 Sep 2010 10:55:08 +0000 Subject: [PATCH] Document url_filesize(). Originally committed as revision 25268 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avio.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libavformat/avio.h b/libavformat/avio.h index a33a7d98a..1e97357e3 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -165,6 +165,11 @@ int url_close(URLContext *h); */ 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); /** -- 2.11.0