Mercurial > libavformat.hg
changeset 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 | 3877522243ec |
children | 902c290b60ed |
files | rtsp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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());