# HG changeset patch # User mstorsjo # Date 1276984665 0 # Node ID 06766607951e6fef9ac1af5e98e402cc2c25397c # Parent 3877522243ec4c865f7e48bc388e80a4a209ab33 RTSP: Add the auth credentials to the HTTP tunnel URL, too diff -r 3877522243ec -r 06766607951e rtsp.c --- 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());