From 10ed37b5d159e28025dbbfc37e9619b3cf57874d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Sat, 19 Jun 2010 21:57:45 +0000 Subject: [PATCH] RTSP: Add the auth credentials to the HTTP tunnel URL, too Originally committed as revision 23651 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index fb203a6c39..9801fc9a80 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1573,7 +1573,7 @@ redirect: char sessioncookie[17]; char headers[1024]; - ff_url_join(httpname, sizeof(httpname), "http", NULL, host, port, "%s", path); + ff_url_join(httpname, sizeof(httpname), "http", auth, host, port, "%s", path); snprintf(sessioncookie, sizeof(sessioncookie), "%08x%08x", av_get_random_seed(), av_get_random_seed());