aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-04 20:35:04 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-07 18:11:24 +0200
commit8e76a19b63a3fa322a64a7d27bd6e642c7fe7f85 (patch)
tree90c4c12b1ec0271cc9cb08e339859443e0f37e45 /libavformat/avio.h
parent80c6e238b0f42a0b07fbc195564a50032b3608ba (diff)
downloadffmpeg-8e76a19b63a3fa322a64a7d27bd6e642c7fe7f85.tar.gz
avio: make av_register_protocol2 internal.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h4
1 files changed, 3 insertions, 1 deletions
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 */