mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-08 11:26:59 +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;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( strcasecmp( p_demux->psz_access, "sdp" ) &&
|
if( strcasecmp( p_demux->psz_access, "sdp" ) )
|
||||||
vlc_UrlIsNotEncoded( p_sys->psz_path ) )
|
|
||||||
{
|
{
|
||||||
p_sys->psz_path = vlc_UrlEncode( p_sys->psz_path );
|
char *p = p_sys->psz_path;
|
||||||
if( p_sys->psz_path == NULL )
|
while( (p = strchr( p, ' ' )) != NULL )
|
||||||
goto error;
|
*p = '+';
|
||||||
}
|
}
|
||||||
|
|
||||||
if( p_demux->s == NULL && !strcasecmp( p_demux->psz_access, "rtsp" ) )
|
if( p_demux->s == NULL && !strcasecmp( p_demux->psz_access, "rtsp" ) )
|
||||||
|
Loading…
Reference in New Issue
Block a user