summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-30 10:55:08 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-30 10:55:08 +0000
commitf3f5eb6e70f46fb2f0c06efed198b31a72ee1f29 (patch)
tree4079dd51a0fd7496d8292a84656ef184f7cc712f /libavformat/avio.h
parent0a216bd1dd6ac32aa91044e54ea15b43e9db7985 (diff)
Document url_filesize().
Originally committed as revision 25268 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index a33a7d98a8..1e97357e38 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);
/**