summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-03-29 22:29:14 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-03-29 22:29:14 +0000
commit8a36b59ba6b1da899a4c90ea8b5d547a7ac90581 (patch)
tree54a6b5fca45233daed94857769a4fbdf3dce9517 /libavformat
parent148bcae98c7227cfe0aac74841b0888bd456332a (diff)
Document url_exist().
Originally committed as revision 22725 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index fec65fd71c..58e6eab45c 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -139,7 +139,12 @@ int64_t url_seek(URLContext *h, int64_t pos, int whence);
*/
int url_close(URLContext *h);
+/**
+ * Returns a non-zero value if the resource indicated by url
+ * exists, 0 otherwise.
+ */
int url_exist(const char *url);
+
int64_t url_filesize(URLContext *h);
/**