access: rdp: fix URI parsing

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
This commit is contained in:
Simon Latapie 2019-03-25 19:28:37 +01:00 committed by Hugo Beauzée-Luyssen
parent 15b9c1be65
commit cee9f5692b
1 changed files with 1 additions and 1 deletions

View File

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