Commit 5d377501 authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

Replace calls/references of the deprecated register_protocol()

function with correponding calls/references to av_register_protocol().

Originally committed as revision 17323 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 65c40e4e
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#define REGISTER_PROTOCOL(X,x) { \ #define REGISTER_PROTOCOL(X,x) { \
extern URLProtocol x##_protocol; \ extern URLProtocol x##_protocol; \
if(CONFIG_##X##_PROTOCOL) register_protocol(&x##_protocol); } if(CONFIG_##X##_PROTOCOL) av_register_protocol(&x##_protocol); }
void av_register_all(void) void av_register_all(void)
{ {
......
...@@ -776,7 +776,7 @@ void av_pkt_dump_log(void *avcl, int level, AVPacket *pkt, int dump_payload); ...@@ -776,7 +776,7 @@ void av_pkt_dump_log(void *avcl, int level, AVPacket *pkt, int dump_payload);
* *
* @see av_register_input_format() * @see av_register_input_format()
* @see av_register_output_format() * @see av_register_output_format()
* @see register_protocol() * @see av_register_protocol()
*/ */
void av_register_all(void); void av_register_all(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment