[vlc-commits] access: rdp: fix URI parsing

Simon Latapie git at videolan.org
Thu Mar 28 12:55:42 CET 2019


vlc | branch: master | Simon Latapie <garf at videolan.org> | Mon Mar 25 19:28:37 2019 +0100| [cee9f5692b0a14cdaf7c32564f0b3b0a2011805c] | committer: Hugo Beauzée-Luyssen

access: rdp: fix URI parsing

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cee9f5692b0a14cdaf7c32564f0b3b0a2011805c
---

 modules/access/rdp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/rdp.c b/modules/access/rdp.c
index e8b2fc6fac..8a16a42038 100644
--- a/modules/access/rdp.c
+++ b/modules/access/rdp.c
@@ -457,7 +457,7 @@ static int Open( vlc_object_t *p_this )
 
     /* Parse uri params for pre-connect */
     vlc_url_t url;
-    vlc_UrlParse( &url, p_demux->psz_location );
+    vlc_UrlParse( &url, p_demux->psz_url );
 
     if ( !EMPTY_STR(url.psz_host) )
         p_sys->psz_hostname = strdup( url.psz_host );



More information about the vlc-commits mailing list