[PATCH 4/4] Document url_filesize().
Stefano Sabatini
stefano.sabatini-lala
Sun Mar 28 12:19:48 CEST 2010
---
libavformat/avio.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 34437bc..9be9a13 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -184,6 +184,11 @@ int url_close(URLContext *h);
*/
int url_exist(const char *url);
+/**
+ * Return the filesize of the resources 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);
/**
--
1.7.1
--R3G7APHDIzY6R/pk--
More information about the ffmpeg-devel
mailing list