[vlc-devel] commit: only print error when interface intialization failed not when it succeeded . (Jean-Paul Saman )
git version control
git at videolan.org
Sun Jun 14 20:09:12 CEST 2009
vlc | branch: 1.0-bugfix | Jean-Paul Saman <jpsaman at videolan.org> | Sun Jun 14 19:55:54 2009 +0200| [503c860af9e3152af19d7123fae37727c82896b7] | committer: Jean-Paul Saman
only print error when interface intialization failed not when it succeeded.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=503c860af9e3152af19d7123fae37727c82896b7
---
src/control/core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/control/core.c b/src/control/core.c
index e52a1a0..963de48 100644
--- a/src/control/core.c
+++ b/src/control/core.c
@@ -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" );
}
More information about the vlc-devel
mailing list