mirror of
https://code.videolan.org/videolan/vlc
synced 2024-08-10 19:05:07 +02:00
* modules/demux/livedotcom.cpp: Do not use vlc_UrlEncode(), but simply
replace spaces with '+'. That's what browsers do, and I think it's the right thing to do since vlc_UrlEncode was just breaking things. refs #90 and debian bug #279735
This commit is contained in:
parent
a9a9981ee7
commit
28e27d84bd
@ -247,12 +247,11 @@ static int Open ( vlc_object_t *p_this )
|
||||
goto error;
|
||||
}
|
||||
|
||||
if( strcasecmp( p_demux->psz_access, "sdp" ) &&
|
||||
vlc_UrlIsNotEncoded( p_sys->psz_path ) )
|
||||
if( strcasecmp( p_demux->psz_access, "sdp" ) )
|
||||
{
|
||||
p_sys->psz_path = vlc_UrlEncode( p_sys->psz_path );
|
||||
if( p_sys->psz_path == NULL )
|
||||
goto error;
|
||||
char *p = p_sys->psz_path;
|
||||
while( (p = strchr( p, ' ' )) != NULL )
|
||||
*p = '+';
|
||||
}
|
||||
|
||||
if( p_demux->s == NULL && !strcasecmp( p_demux->psz_access, "rtsp" ) )
|
||||
|
Loading…
Reference in New Issue
Block a user