changeset 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 724c0f6a52dc
children 59e1aa351b77
files allformats.c avformat.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/allformats.c	Sun Feb 15 14:25:23 2009 +0000
+++ b/allformats.c	Sun Feb 15 14:29:23 2009 +0000
@@ -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)
 {
--- a/avformat.h	Sun Feb 15 14:25:23 2009 +0000
+++ b/avformat.h	Sun Feb 15 14:29:23 2009 +0000
@@ -776,7 +776,7 @@
  *
  * @see av_register_input_format()
  * @see av_register_output_format()
- * @see register_protocol()
+ * @see av_register_protocol()
  */
 void av_register_all(void);