[SCM] libav/experimental: RTSP: Add the auth credentials to the HTTP tunnel URL, too
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:08:48 UTC 2013
The following commit has been merged in the experimental branch:
commit 10ed37b5d159e28025dbbfc37e9619b3cf57874d
Author: Martin Storsjö <martin at martin.st>
Date: Sat Jun 19 21:57:45 2010 +0000
RTSP: Add the auth credentials to the HTTP tunnel URL, too
Originally committed as revision 23651 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index fb203a6..9801fc9 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());
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list