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

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


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

access: vnc: 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=15b9c1be6551fa7674a019c165fc219fabcd90fd
---

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



More information about the vlc-commits mailing list