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

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


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

diff --git a/modules/access/vnc.c b/modules/access/vnc.c
index 5013573fe1..8dcd05c228 100644
--- a/modules/access/vnc.c
+++ b/modules/access/vnc.c
@@ -447,7 +447,7 @@ static int Open( vlc_object_t *p_this )
 
     /* Parse uri params */
     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->p_client->serverHost = strdup( url.psz_host );
-- 
2.11.0



More information about the vlc-devel mailing list