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

git version control git at videolan.org
Mon Feb 1 13:09:02 CET 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Feb  1 13:08:49 2010 +0100| [6ead52bb55872971c9ce12a5b0bbcf5b71134861] | committer: Rémi Duraffort 

mozilla: fix compilation.

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

 projects/mozilla/vlcplugin.cpp |   11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diff --git a/projects/mozilla/vlcplugin.cpp b/projects/mozilla/vlcplugin.cpp
index af4277a..0ea739c 100644
--- a/projects/mozilla/vlcplugin.cpp
+++ b/projects/mozilla/vlcplugin.cpp
@@ -352,16 +352,7 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
         }
     }
 
-    libvlc_exception_t ex;
-    libvlc_exception_init(&ex);
-
-    libvlc_instance = libvlc_new(ppsz_argc, ppsz_argv, &ex);
-    if( libvlc_exception_raised(&ex) )
-    {
-        libvlc_exception_clear(&ex);
-        return NPERR_GENERIC_ERROR;
-    }
-
+    libvlc_instance = libvlc_new(ppsz_argc, ppsz_argv);
     libvlc_media_list = libvlc_media_list_new(libvlc_instance);
 
     /*




More information about the vlc-devel mailing list