From 35b74c3deba0091abcf673dbdcd665f6383cd78b Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Tue, 15 Apr 2008 11:23:07 +0000 Subject: Remove the "multicast=" tag from UDP and RTP URLs Originally committed as revision 12830 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/rtsp.c') diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index c2c6c7d..fe41d05 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -973,7 +973,7 @@ make_setup_request (AVFormatContext *s, const char *host, int port, int protocol struct in_addr in; in.s_addr = htonl(reply->transports[0].destination); - snprintf(url, sizeof(url), "rtp://%s:%d?multicast=1&ttl=%d", + snprintf(url, sizeof(url), "rtp://%s:%d?ttl=%d", inet_ntoa(in), reply->transports[0].port_min, reply->transports[0].ttl); @@ -1413,7 +1413,7 @@ static int sdp_read_header(AVFormatContext *s, for(i=0;inb_rtsp_streams;i++) { rtsp_st = rt->rtsp_streams[i]; - snprintf(url, sizeof(url), "rtp://%s:%d?multicast=1&ttl=%d", + snprintf(url, sizeof(url), "rtp://%s:%d?ttl=%d", inet_ntoa(rtsp_st->sdp_ip), rtsp_st->sdp_port, rtsp_st->sdp_ttl); -- cgit v1.1