Mercurial > libavformat.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
4487:7590f1edf959 | 4488:724c0f6a52dc |
---|---|
140 extern URLProtocol *first_protocol; | 140 extern URLProtocol *first_protocol; |
141 extern URLInterruptCB *url_interrupt_cb; | 141 extern URLInterruptCB *url_interrupt_cb; |
142 | 142 |
143 URLProtocol *av_protocol_next(URLProtocol *p); | 143 URLProtocol *av_protocol_next(URLProtocol *p); |
144 | 144 |
145 int register_protocol(URLProtocol *protocol); | 145 #if LIBAVFORMAT_VERSION_MAJOR < 53 |
146 /** | |
147 * @deprecated Use av_register_protocol() instead. | |
148 */ | |
149 attribute_deprecated int register_protocol(URLProtocol *protocol); | |
150 #endif | |
151 | |
152 int av_register_protocol(URLProtocol *protocol); | |
146 | 153 |
147 /** | 154 /** |
148 * Bytestream IO Context. | 155 * Bytestream IO Context. |
149 * New fields can be added to the end with minor version bumps. | 156 * New fields can be added to the end with minor version bumps. |
150 * Removal, reordering and changes to existing fields require a major | 157 * Removal, reordering and changes to existing fields require a major |