[FFmpeg-cvslog] r25557 - in trunk/libavformat: rtsp.c rtsp.h

aurel subversion
Sat Oct 23 18:22:36 CEST 2010


Author: aurel
Date: Sat Oct 23 18:22:36 2010
New Revision: 25557

Log:
drop rtsp_default_protocols which is not part of public API and not used anymore

Modified:
   trunk/libavformat/rtsp.c
   trunk/libavformat/rtsp.h

Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c	Sat Oct 23 18:21:49 2010	(r25556)
+++ trunk/libavformat/rtsp.c	Sat Oct 23 18:22:36 2010	(r25557)
@@ -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

Modified: trunk/libavformat/rtsp.h
==============================================================================
--- trunk/libavformat/rtsp.h	Sat Oct 23 18:21:49 2010	(r25556)
+++ trunk/libavformat/rtsp.h	Sat Oct 23 18:22:36 2010	(r25557)
@@ -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;
 



More information about the ffmpeg-cvslog mailing list