# HG changeset patch # User aurel # Date 1189447873 0 # Node ID 89030c7e2fa78b0533dc749a99c7d2b993f02f24 # Parent 90609bab3de315f9649eeb9dff15fba39d551fa5 *_protocol are not part of public API diff -r 90609bab3de3 -r 89030c7e2fa7 allformats.h --- a/allformats.h Mon Sep 10 15:08:23 2007 +0000 +++ b/allformats.h Mon Sep 10 18:11:13 2007 +0000 @@ -185,6 +185,13 @@ 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 -r 90609bab3de3 -r 89030c7e2fa7 avio.h --- a/avio.h Mon Sep 10 15:08:23 2007 +0000 +++ b/avio.h Mon Sep 10 18:11:13 2007 +0000 @@ -254,21 +254,10 @@ 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 -r 90609bab3de3 -r 89030c7e2fa7 rtp.h --- a/rtp.h Mon Sep 10 15:08:23 2007 +0000 +++ b/rtp.h Mon Sep 10 18:11:13 2007 +0000 @@ -54,8 +54,6 @@ */ 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 */