From 33b0e8dfb01102015a8d85f818c4d0083132a9ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Duraffort?= Date: Mon, 1 Feb 2010 14:11:08 +0100 Subject: [PATCH] libvlcpp: fix compilation. --- bindings/libvlcpp/src/libvlc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/libvlcpp/src/libvlc.cpp b/bindings/libvlcpp/src/libvlc.cpp index a29fc5b20c..c435d1605a 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() -- 2.39.2