Mercurial > libavformat.hg
comparison allformats.c @ 4489:26982fb2d510 libavformat
Replace calls/references of the deprecated register_protocol()
function with correponding calls/references to av_register_protocol().
author | stefano |
---|---|
date | Sun, 15 Feb 2009 14:29:23 +0000 |
parents | 9eedb6599102 |
children | 2c9ebc4029ae |
comparison
equal
deleted
inserted
replaced
4488:724c0f6a52dc | 4489:26982fb2d510 |
---|---|
32 | 32 |
33 #define REGISTER_MUXDEMUX(X,x) REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x) | 33 #define REGISTER_MUXDEMUX(X,x) REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x) |
34 | 34 |
35 #define REGISTER_PROTOCOL(X,x) { \ | 35 #define REGISTER_PROTOCOL(X,x) { \ |
36 extern URLProtocol x##_protocol; \ | 36 extern URLProtocol x##_protocol; \ |
37 if(CONFIG_##X##_PROTOCOL) register_protocol(&x##_protocol); } | 37 if(CONFIG_##X##_PROTOCOL) av_register_protocol(&x##_protocol); } |
38 | 38 |
39 void av_register_all(void) | 39 void av_register_all(void) |
40 { | 40 { |
41 static int initialized; | 41 static int initialized; |
42 | 42 |