aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-12 09:46:45 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-13 07:38:18 +0200
commit4bde56d1afdeb5d8c998bb9f994b0ea829ccf753 (patch)
tree1f6e32bd7d353ea4e8007561a73a270b9df37ff0 /libavformat/avio.h
parent313176565cf813a1a9cd5b8bc3f59c0b9696390e (diff)
downloadffmpeg-4bde56d1afdeb5d8c998bb9f994b0ea829ccf753.tar.gz
avio: deprecate url_exist in favor of avio_check.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 14aa599fe0..f4674a43be 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -339,13 +339,14 @@ attribute_deprecated int url_open_buf(AVIOContext **s, uint8_t *buf, int buf_siz
/** return the written or read size */
attribute_deprecated int url_close_buf(AVIOContext *s);
-#endif // FF_API_OLD_AVIO
/**
* Return a non-zero value if the resource indicated by url
* exists, 0 otherwise.
+ * @deprecated Use avio_check instead.
*/
-int url_exist(const char *url);
+attribute_deprecated int url_exist(const char *url);
+#endif // FF_API_OLD_AVIO
/**
* Return AVIO_* access flags corresponding to the access permissions