Commit 5e340429 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix error values

parent 65b3ba57
......@@ -122,9 +122,7 @@ int OpenIntf ( vlc_object_t *p_this )
p_intf->p_sys = malloc( sizeof( intf_sys_t ) );
if( p_intf->p_sys == NULL )
{
return( 1 );
};
return VLC_ENOMEM;
p_intf->pf_run = RunIntf;
......@@ -142,7 +140,7 @@ int OpenIntf ( vlc_object_t *p_this )
var_AddCallback( p_intf->p_libvlc, "browse-follow-anchor",
FollowAnchorCallback, p_intf );
return( 0 );
return VLC_SUCCESS;
}
/*****************************************************************************
......
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