Mercurial > libavformat.hg
diff avio.h @ 4488:724c0f6a52dc libavformat
Rename register_protocol() to av_register_protocol() and deprecate
register_protocol().
author | stefano |
---|---|
date | Sun, 15 Feb 2009 14:25:23 +0000 |
parents | 626b5bfb5aef |
children | 59e1aa351b77 |
line wrap: on
line diff
--- a/avio.h Sun Feb 15 14:13:28 2009 +0000 +++ b/avio.h Sun Feb 15 14:25:23 2009 +0000 @@ -142,7 +142,14 @@ URLProtocol *av_protocol_next(URLProtocol *p); -int register_protocol(URLProtocol *protocol); +#if LIBAVFORMAT_VERSION_MAJOR < 53 +/** + * @deprecated Use av_register_protocol() instead. + */ +attribute_deprecated int register_protocol(URLProtocol *protocol); +#endif + +int av_register_protocol(URLProtocol *protocol); /** * Bytestream IO Context.