[vlc-devel] [PATCH] access: rdp: fix URI parsing

Simon Latapie garf at videolan.org
Mon Mar 25 19:28:37 CET 2019


---
 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 );
-- 
2.11.0



More information about the vlc-devel mailing list