From a5cea132023c09f3247046fd5493b707c3e98519 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Sat, 23 Oct 2010 16:22:36 +0000 Subject: [PATCH] drop rtsp_default_protocols which is not part of public API and not used anymore Originally committed as revision 25557 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtsp.c | 4 ---- libavformat/rtsp.h | 3 --- 2 files changed, 7 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index c34bcdb8f6..bc9864af1b 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -44,10 +44,6 @@ //#define DEBUG //#define DEBUG_RTP_TCP -#if LIBAVFORMAT_VERSION_INT < (53 << 16) -int rtsp_default_protocols = (1 << RTSP_LOWER_TRANSPORT_UDP); -#endif - /* Timeout values for socket select, in ms, * and read_packet(), in seconds */ #define SELECT_TIMEOUT_MS 100 diff --git a/libavformat/rtsp.h b/libavformat/rtsp.h index 3e426a07b7..8746da7d5e 100644 --- a/libavformat/rtsp.h +++ b/libavformat/rtsp.h @@ -351,9 +351,6 @@ typedef struct RTSPStream { void ff_rtsp_parse_line(RTSPMessageHeader *reply, const char *buf, HTTPAuthState *auth_state); -#if LIBAVFORMAT_VERSION_INT < (53 << 16) -extern int rtsp_default_protocols; -#endif extern int rtsp_rtp_port_min; extern int rtsp_rtp_port_max;