summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-09-10 18:11:13 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-09-10 18:11:13 +0000
commitdde1f9285a13dad6ab131f2287aa54959d8e7d84 (patch)
tree3bfbdb8c35ea61df828697ed35512d488f790e57 /libavformat
parent21b37480291e827ad6af26df283f734381a9fb75 (diff)
*_protocol are not part of public API
Originally committed as revision 10472 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/allformats.h7
-rw-r--r--libavformat/avio.h11
-rw-r--r--libavformat/rtp.h2
3 files changed, 7 insertions, 13 deletions
diff --git a/libavformat/allformats.h b/libavformat/allformats.h
index 1a8509b011..3cbea4e11b 100644
--- a/libavformat/allformats.h
+++ b/libavformat/allformats.h
@@ -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);
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 8db657f282..0d43a7bc8e 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -254,21 +254,10 @@ int url_close_dyn_buf(ByteIOContext *s, uint8_t **pbuffer);
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
diff --git a/libavformat/rtp.h b/libavformat/rtp.h
index dc91de5a56..685af99aff 100644
--- a/libavformat/rtp.h
+++ b/libavformat/rtp.h
@@ -54,8 +54,6 @@ void rtp_get_file_handles(URLContext *h, int *prtp_fd, int *prtcp_fd);
*/
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 */