summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 2b15e8d76b..7aefe1a1c4 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -252,12 +252,19 @@ URLProtocol *av_protocol_next(URLProtocol *p);
* @deprecated Use av_register_protocol() instead.
*/
attribute_deprecated int register_protocol(URLProtocol *protocol);
+
+/**
+ * @deprecated Use av_register_protocol2() instead.
+ */
+attribute_deprecated int av_register_protocol(URLProtocol *protocol);
#endif
/**
* Registers the URLProtocol protocol.
+ *
+ * @param size the size of the URLProtocol struct referenced
*/
-int av_register_protocol(URLProtocol *protocol);
+int av_register_protocol2(URLProtocol *protocol, int size);
/**
* Bytestream IO Context.