mirror of https://code.videolan.org/videolan/vlc
access: rdp: fix URI parsing
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
This commit is contained in:
parent
15b9c1be65
commit
cee9f5692b
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue