Browse Source

live555: check demux_t.s to discriminate access_demux and demux

This is much simpler and more correct than checking the access
scheme.
pull/62/head
Rémi Denis-Courmont 8 years ago
parent
commit
d3b04918a4
  1. 2
      modules/access/live555.cpp

2
modules/access/live555.cpp

@ -384,7 +384,7 @@ static int Open ( vlc_object_t *p_this )
goto error;
}
if( strcasecmp( p_demux->psz_access, "sdp" ) )
if( p_demux->s != NULL )
{
char *p = p_sys->psz_pl_url;
while( (p = strchr( p, ' ' )) != NULL ) *p = '+';

Loading…
Cancel
Save