[FFmpeg-cvslog] r10472 - in trunk/libavformat: allformats.h avio.h rtp.h

aurel subversion
Mon Sep 10 20:11:13 CEST 2007


Author: aurel
Date: Mon Sep 10 20:11:13 2007
New Revision: 10472

Log:
*_protocol are not part of public API

Modified:
   trunk/libavformat/allformats.h
   trunk/libavformat/avio.h
   trunk/libavformat/rtp.h

Modified: trunk/libavformat/allformats.h
==============================================================================
--- trunk/libavformat/allformats.h	(original)
+++ trunk/libavformat/allformats.h	Mon Sep 10 20:11:13 2007
@@ -185,6 +185,13 @@ extern AVOutputFormat voc_muxer;
 extern AVOutputFormat wav_muxer;
 extern AVOutputFormat yuv4mpegpipe_muxer;
 
+extern URLProtocol file_protocol;
+extern URLProtocol http_protocol;
+extern URLProtocol pipe_protocol;
+extern URLProtocol rtp_protocol;
+extern URLProtocol tcp_protocol;
+extern URLProtocol udp_protocol;
+
 /* raw.c */
 int pcm_read_seek(AVFormatContext *s,
                   int stream_index, int64_t timestamp, int flags);

Modified: trunk/libavformat/avio.h
==============================================================================
--- trunk/libavformat/avio.h	(original)
+++ trunk/libavformat/avio.h	Mon Sep 10 20:11:13 2007
@@ -254,21 +254,10 @@ int url_close_dyn_buf(ByteIOContext *s, 
 unsigned long get_checksum(ByteIOContext *s);
 void init_checksum(ByteIOContext *s, unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len), unsigned long checksum);
 
-/* file.c */
-extern URLProtocol file_protocol;
-extern URLProtocol pipe_protocol;
-
 /* udp.c */
-extern URLProtocol udp_protocol;
 int udp_set_remote_url(URLContext *h, const char *uri);
 int udp_get_local_port(URLContext *h);
 int udp_get_file_handle(URLContext *h);
 
-/* tcp.c  */
-extern URLProtocol tcp_protocol;
-
-/* http.c */
-extern URLProtocol http_protocol;
-
 #endif
 

Modified: trunk/libavformat/rtp.h
==============================================================================
--- trunk/libavformat/rtp.h	(original)
+++ trunk/libavformat/rtp.h	Mon Sep 10 20:11:13 2007
@@ -54,8 +54,6 @@ void rtp_get_file_handles(URLContext *h,
  */
 int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count);
 
-extern URLProtocol rtp_protocol;
-
 #define RTP_PT_PRIVATE 96
 #define RTP_VERSION 2
 #define RTP_MAX_SDES 256   /**< maximum text length for SDES */




More information about the ffmpeg-cvslog mailing list