]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Replace calls/references of the deprecated register_protocol()
authorstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 15 Feb 2009 14:29:23 +0000 (14:29 +0000)
committerstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 15 Feb 2009 14:29:23 +0000 (14:29 +0000)
function with correponding calls/references to av_register_protocol().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17323 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/allformats.c
libavformat/avformat.h

index e6aaf8fe5944713674dcfb40e3ade9f60835b5f7..1eaab3ce990c752cd52f916a20b1ee44895a6334 100644 (file)
@@ -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)
 {
index d107fafa8d624fc8e59b56466a04490d13ca95ce..5d613534552453cf6686f68116b01d9616a12d85 100644 (file)
@@ -776,7 +776,7 @@ void av_pkt_dump_log(void *avcl, int level, AVPacket *pkt, int dump_payload);
  *
  * @see av_register_input_format()
  * @see av_register_output_format()
- * @see register_protocol()
+ * @see av_register_protocol()
  */
 void av_register_all(void);