From 8e76a19b63a3fa322a64a7d27bd6e642c7fe7f85 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 4 Apr 2011 20:35:04 +0200 Subject: avio: make av_register_protocol2 internal. --- libavformat/avio.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavformat/avio.h') diff --git a/libavformat/avio.h b/libavformat/avio.h index 3a4b64e44d..41f51aaed4 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -184,12 +184,14 @@ attribute_deprecated int register_protocol(URLProtocol *protocol); attribute_deprecated int av_register_protocol(URLProtocol *protocol); #endif +#if FF_API_OLD_AVIO /** * Register the URLProtocol protocol. * * @param size the size of the URLProtocol struct referenced */ -int av_register_protocol2(URLProtocol *protocol, int size); +attribute_deprecated int av_register_protocol2(URLProtocol *protocol, int size); +#endif #define AVIO_SEEKABLE_NORMAL 0x0001 /**< Seeking works like for a local file */ -- cgit v1.2.3