]> git.sesse.net Git - vlc/commitdiff
mozilla: fix compilation.
authorRémi Duraffort <ivoire@videolan.org>
Mon, 1 Feb 2010 12:08:49 +0000 (13:08 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Mon, 1 Feb 2010 12:08:49 +0000 (13:08 +0100)
projects/mozilla/vlcplugin.cpp

index af4277a772c27044cd06831b61e441f4e5b0081b..0ea739c0d86505651c04e1217fb955649546e1c4 100644 (file)
@@ -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);
 
     /*