[vlc-devel] commit: Revert " only print error when interface intialization failed not when it succeeded. " (Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Jun 15 15:30:35 CEST 2009


vlc | branch: 1.0-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jun 15 15:30:27 2009 +0200| [a9023f26e2c1d1c7b24fbfb6edc6724c82350a8d] | committer: Jean-Baptiste Kempf 

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

This reverts commit 503c860af9e3152af19d7123fae37727c82896b7.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a9023f26e2c1d1c7b24fbfb6edc6724c82350a8d
---

 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 963de48..e52a1a0 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