Commit 20837172 authored by Christophe Mutricy's avatar Christophe Mutricy

Fix warning

parent 124f8de1
...@@ -403,8 +403,9 @@ static int Open( vlc_object_t * p_this ) ...@@ -403,8 +403,9 @@ static int Open( vlc_object_t * p_this )
if( end ) end[1] = '\0'; if( end ) end[1] = '\0';
else *psz_path = '\0'; else *psz_path = '\0';
asprintf( &psz_absolute, "%s://%s%s", if( asprintf( &psz_absolute, "%s://%s%s",
p_demux->psz_access, psz_path, psz_ref ); p_demux->psz_access, psz_path, psz_ref ) < 0 )
return VLC_ENOMEM;
free( psz_ref ); free( psz_ref );
psz_ref = psz_absolute; psz_ref = psz_absolute;
......
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