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); /**