[vlc-devel] commit: libvlcpp: fix compilation. ( Rémi Duraffort )

git version control git at videolan.org
Tue Feb 2 09:34:42 CET 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Feb  1 14:11:08 2010 +0100| [33b0e8dfb01102015a8d85f818c4d0083132a9ea] | committer: Rémi Duraffort 

libvlcpp: fix compilation.

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

 bindings/libvlcpp/src/libvlc.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bindings/libvlcpp/src/libvlc.cpp b/bindings/libvlcpp/src/libvlc.cpp
index a29fc5b..c435d16 100644
--- a/bindings/libvlcpp/src/libvlc.cpp
+++ b/bindings/libvlcpp/src/libvlc.cpp
@@ -22,14 +22,14 @@
  *****************************************************************************/
 
 #include "libvlc.hpp"
-#include "exception.hpp"
 
 using namespace libvlc;
 
 libVLC::libVLC( int i_argc, const char *const *argv )
 {
-    Exception ex;
-    m_instance = libvlc_new( i_argc, argv, &ex.ex);
+    m_instance = libvlc_new( i_argc, argv);
+    if(!m_instance)
+        throw libvlc_errmsg();
 }
 
 libVLC::~libVLC()




More information about the vlc-devel mailing list