gst/rtsp/rtspurl.c: Fix parsing of password field in url. Fixes #407797.

Original commit message from CVS:
Patch by: jp.liu <jp_liu at astrocom dot cn>
* gst/rtsp/rtspurl.c: (rtsp_url_parse):
Fix parsing of password field in url. Fixes #407797.
This commit is contained in:
jp.liu 2007-02-14 10:09:12 +00:00 committed by Wim Taymans
parent 2644d7178b
commit a8f72c67d1
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2007-02-14 Wim Taymans,,, <wim@fluendo.com>
Patch by: jp.liu <jp_liu at astrocom dot cn>
* gst/rtsp/rtspurl.c: (rtsp_url_parse):
Fix parsing of password field in url. Fixes #407797.
2007-02-14 Wim Taymans,,, <wim@fluendo.com>
* gst/wavparse/gstwavparse.c: (gst_wavparse_class_init),

View file

@ -95,7 +95,7 @@ rtsp_url_parse (const gchar * urlstr, RTSPUrl ** url)
res->user = g_strndup (p, col - p);
col++;
res->passwd = g_strndup (col, col - at);
res->passwd = g_strndup (col, at - col);
/* move to host */
p = at + 1;