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