summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2008-01-02 19:40:43 +0000
committerDiego Biurrun <diego@biurrun.de>2008-01-02 19:40:43 +0000
commitc482500fa33fd420d37b407fce83162a3269f4a7 (patch)
tree656c7932d0f5f9c9de2217a7f96c61dcc604a3a3 /libavformat/rtsp.c
parentae904fd028420d818f5603225df885978956a722 (diff)
Drop RTSP default protocol.
patch by Ronald S. Bultje, rsbultje gmail com Originally committed as revision 11377 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index ff66f4bb44..14f0a5ce43 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -77,7 +77,9 @@ static int rtsp_read_play(AVFormatContext *s);
/* 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)
{