diff rtsp.c @ 2884:e6e7ba123447 libavformat

Drop RTSP default protocol. patch by Ronald S. Bultje, rsbultje gmail com
author diego
date Wed, 02 Jan 2008 19:40:43 +0000
parents ccbca87ccd5e
children 91d65fdf91e1
line wrap: on
line diff
--- a/rtsp.c	Wed Jan 02 18:53:38 2008 +0000
+++ b/rtsp.c	Wed Jan 02 19:40:43 2008 +0000
@@ -77,7 +77,9 @@
 /* XXX: currently, the only way to change the protocols consists in
    changing this variable */
 
+#if LIBAVFORMAT_VERSION_INT < (53 << 16)
 int rtsp_default_protocols = (1 << RTSP_PROTOCOL_RTP_UDP);
+#endif
 
 static int rtsp_probe(AVProbeData *p)
 {