Commit 503c860a authored by Jean-Paul Saman's avatar Jean-Paul Saman

only print error when interface intialization failed not when it succeeded.

parent ccc1a9c2
......@@ -185,7 +185,7 @@ void libvlc_release( libvlc_instance_t *p_instance )
void libvlc_add_intf( libvlc_instance_t *p_i, const char *name,
libvlc_exception_t *p_e )
{
if( libvlc_InternalAddIntf( p_i->p_libvlc_int, name ) )
if( !libvlc_InternalAddIntf( p_i->p_libvlc_int, name ) )
RAISEVOID( "Interface initialization failed" );
}
......
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