summaryrefslogtreecommitdiff
path: root/libavformat/avio.c
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.c
parent313176565cf813a1a9cd5b8bc3f59c0b9696390e (diff)
avio: deprecate url_exist in favor of avio_check.
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r--libavformat/avio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 18b2ee6c22..cb923a726e 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -365,6 +365,7 @@ int ffurl_close(URLContext *h)
return ret;
}
+#if FF_API_OLD_AVIO
int url_exist(const char *filename)
{
URLContext *h;
@@ -373,6 +374,7 @@ int url_exist(const char *filename)
ffurl_close(h);
return 1;
}
+#endif
int avio_check(const char *url, int flags)
{