diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-30 10:55:08 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-30 10:55:08 +0000 |
commit | f3f5eb6e70f46fb2f0c06efed198b31a72ee1f29 (patch) | |
tree | 4079dd51a0fd7496d8292a84656ef184f7cc712f /libavformat | |
parent | 0a216bd1dd6ac32aa91044e54ea15b43e9db7985 (diff) | |
download | ffmpeg-f3f5eb6e70f46fb2f0c06efed198b31a72ee1f29.tar.gz |
Document url_filesize().
Originally committed as revision 25268 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/avio.h | 5 |
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); /** |