From 8a36b59ba6b1da899a4c90ea8b5d547a7ac90581 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 29 Mar 2010 22:29:14 +0000 Subject: [PATCH] Document url_exist(). Originally committed as revision 22725 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 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); /**