summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2008-04-15 11:23:07 +0000
committerLuca Abeni <lucabe72@email.it>2008-04-15 11:23:07 +0000
commit35b74c3deba0091abcf673dbdcd665f6383cd78b (patch)
treec96e4c25a816571b29c44b1ac82767ed8e1c29d9 /libavformat/rtsp.c
parent1f56021a3d4c689261c1754b7747cae8d2f01a69 (diff)
Remove the "multicast=" tag from UDP and RTP URLs
Originally committed as revision 12830 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index c2c6c7d405..fe41d05506 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;i<rt->nb_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);