livedotcom.cpp: Do not url encode sdp data coming from sap before passing to

live.com. Fixes livedotcom with sap which has been broken since r10945
parent e62f9ac5
...@@ -242,7 +242,8 @@ static int Open ( vlc_object_t *p_this ) ...@@ -242,7 +242,8 @@ static int Open ( vlc_object_t *p_this )
goto error; goto error;
} }
if( vlc_UrlIsNotEncoded( p_sys->psz_path ) ) if( strcasecmp( p_demux->psz_access, "sdp" ) &&
vlc_UrlIsNotEncoded( p_sys->psz_path ) )
{ {
p_sys->psz_path = vlc_UrlEncode( p_sys->psz_path ); p_sys->psz_path = vlc_UrlEncode( p_sys->psz_path );
if( p_sys->psz_path == NULL ) if( p_sys->psz_path == NULL )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment