Commit 1b8e481a authored by Laurent Aimar's avatar Laurent Aimar

* access,demux: fixed parsing.

parent 66fa4d5c
......@@ -65,6 +65,7 @@ access_t *__access2_New( vlc_object_t *p_obj, char *psz_mrl )
if( p_access == NULL )
{
msg_Err( p_obj, "vlc_object_create( p_obj, VLC_OBJECT_ACCESS ) had failed" );
free( psz_dup );
return NULL;
}
......@@ -87,8 +88,8 @@ access_t *__access2_New( vlc_object_t *p_obj, char *psz_mrl )
if( psz )
{
*psz++ = '\0';
p_access->psz_access = strdup( psz_dup );
}
p_access->psz_access = strdup( psz_dup );
}
else
{
......
......@@ -202,9 +202,9 @@ demux_t *__demux2_New( vlc_object_t *p_obj,
if( psz )
{
*psz++ = '\0';
p_demux->psz_access = strdup( psz_dup );
p_demux->psz_demux = strdup( psz );
}
p_demux->psz_access = strdup( psz_dup );
}
else
{
......
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