summaryrefslogtreecommitdiff
path: root/libavformat/allformats.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-15 14:29:23 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-15 14:29:23 +0000
commit5d37750187774279e587842ae756b84ecf4f5f32 (patch)
tree9f636b1eb29497cadb9ceb6a5278f0d96a0be7d6 /libavformat/allformats.c
parent65c40e4e3a4d736632820b1a8e80a5d0c4fb31de (diff)
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
Diffstat (limited to 'libavformat/allformats.c')
-rw-r--r--libavformat/allformats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/allformats.c b/libavformat/allformats.c
index e6aaf8fe59..1eaab3ce99 100644
--- a/libavformat/allformats.c
+++ b/libavformat/allformats.c
@@ -34,7 +34,7 @@
#define REGISTER_PROTOCOL(X,x) { \
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)
{