[FFmpeg-cvslog] r23651 - trunk/libavformat/rtsp.c

mstorsjo subversion
Sat Jun 19 23:57:45 CEST 2010


Author: mstorsjo
Date: Sat Jun 19 23:57:45 2010
New Revision: 23651

Log:
RTSP: Add the auth credentials to the HTTP tunnel URL, too

Modified:
   trunk/libavformat/rtsp.c

Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c	Sat Jun 19 23:56:50 2010	(r23650)
+++ trunk/libavformat/rtsp.c	Sat Jun 19 23:57:45 2010	(r23651)
@@ -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());
 



More information about the ffmpeg-cvslog mailing list