Commit 50428add authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

sout: remove impossible NULL check followed by reverse NULL

parent e76f990e
......@@ -83,9 +83,11 @@ static void mrl_Clean( mrl_t *p_mrl );
sout_instance_t *sout_NewInstance( vlc_object_t *p_parent, const char *psz_dest )
{
sout_instance_t *p_sout;
char *psz_chain;
if( psz_dest && psz_dest[0] == '#' )
assert( psz_dest != NULL );
if( psz_dest[0] == '#' )
{
psz_chain = strdup( &psz_dest[1] );
}
......
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