diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-02-15 14:25:23 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-02-15 14:25:23 +0000 |
commit | 65c40e4e3a4d736632820b1a8e80a5d0c4fb31de (patch) | |
tree | 4e474cb8746e9ebc2864a06af7446d07138d0b62 /libavformat/avio.h | |
parent | 54b4ea57fdffd147eafafda27d3b46692c3a5a79 (diff) | |
download | ffmpeg-65c40e4e3a4d736632820b1a8e80a5d0c4fb31de.tar.gz |
Rename register_protocol() to av_register_protocol() and deprecate
register_protocol().
Originally committed as revision 17322 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 3bb88b37c0..70538f3491 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -142,7 +142,14 @@ extern URLInterruptCB *url_interrupt_cb; 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. |