summaryrefslogtreecommitdiff
path: root/libavformat/avio.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-31 16:00:49 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-04 07:46:29 +0200
commit333e8943635b794099b1fb04e9d3fbb4b16a75b2 (patch)
tree66724baa713e89f129d7cdd8dcab167e3c605030 /libavformat/avio.c
parente2307053925260331803412b35e5731069e787c3 (diff)
avio: deprecate url_open_protocol
The unbuffered API will be made private and it's not used anywhere internally.
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 d7c2eb4905..f6f067d63f 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -150,6 +150,7 @@ int url_connect(URLContext* uc)
return 0;
}
+#if FF_API_OLD_AVIO
int url_open_protocol (URLContext **puc, struct URLProtocol *up,
const char *filename, int flags)
{
@@ -166,6 +167,7 @@ int url_open_protocol (URLContext **puc, struct URLProtocol *up,
*puc = NULL;
return ret;
}
+#endif
#define URL_SCHEME_CHARS \
"abcdefghijklmnopqrstuvwxyz" \