Mercurial > libavformat.hg
diff rtsp.c @ 6148:06766607951e libavformat
RTSP: Add the auth credentials to the HTTP tunnel URL, too
author | mstorsjo |
---|---|
date | Sat, 19 Jun 2010 21:57:45 +0000 |
parents | 9f9a4be98cfb |
children | f403b7c0e51b |
line wrap: on
line diff
--- a/rtsp.c Sat Jun 19 21:56:50 2010 +0000 +++ b/rtsp.c Sat Jun 19 21:57:45 2010 +0000 @@ -1573,7 +1573,7 @@ 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());