[FFmpeg-cvslog] r17323 - in trunk/libavformat: allformats.c avformat.h

stefano subversion
Sun Feb 15 15:29:25 CET 2009


Author: stefano
Date: Sun Feb 15 15:29:23 2009
New Revision: 17323

Log:
Replace calls/references of the deprecated register_protocol()
function with correponding calls/references to av_register_protocol().

Modified:
   trunk/libavformat/allformats.c
   trunk/libavformat/avformat.h

Modified: trunk/libavformat/allformats.c
==============================================================================
--- trunk/libavformat/allformats.c	Sun Feb 15 15:25:23 2009	(r17322)
+++ trunk/libavformat/allformats.c	Sun Feb 15 15:29:23 2009	(r17323)
@@ -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)
 {

Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h	Sun Feb 15 15:25:23 2009	(r17322)
+++ trunk/libavformat/avformat.h	Sun Feb 15 15:29:23 2009	(r17323)
@@ -776,7 +776,7 @@ void av_pkt_dump_log(void *avcl, int lev
  *
  * @see av_register_input_format()
  * @see av_register_output_format()
- * @see register_protocol()
+ * @see av_register_protocol()
  */
 void av_register_all(void);
 




More information about the ffmpeg-cvslog mailing list