diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-04 20:35:04 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-07 18:11:24 +0200 |
commit | 8e76a19b63a3fa322a64a7d27bd6e642c7fe7f85 (patch) | |
tree | 90c4c12b1ec0271cc9cb08e339859443e0f37e45 /libavformat/allformats.c | |
parent | 80c6e238b0f42a0b07fbc195564a50032b3608ba (diff) | |
download | ffmpeg-8e76a19b63a3fa322a64a7d27bd6e642c7fe7f85.tar.gz |
avio: make av_register_protocol2 internal.
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r-- | libavformat/allformats.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c index e80d4b0175..9398d34be3 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -21,6 +21,7 @@ #include "avformat.h" #include "rtp.h" #include "rdt.h" +#include "url.h" #define REGISTER_MUXER(X,x) { \ extern AVOutputFormat ff_##x##_muxer; \ @@ -34,7 +35,7 @@ #define REGISTER_PROTOCOL(X,x) { \ extern URLProtocol ff_##x##_protocol; \ - if(CONFIG_##X##_PROTOCOL) av_register_protocol2(&ff_##x##_protocol, sizeof(ff_##x##_protocol)); } + if(CONFIG_##X##_PROTOCOL) ffurl_register_protocol(&ff_##x##_protocol, sizeof(ff_##x##_protocol)); } void av_register_all(void) { |