]> git.sesse.net Git - vlc/commitdiff
Mozilla: compile fix
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 28 Jan 2010 23:59:24 +0000 (00:59 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 28 Jan 2010 23:59:24 +0000 (00:59 +0100)
projects/mozilla/vlcplugin.cpp

index 47f08b5cf8e4eb42d4b0bd6fa1965e6c1cb3efd9..80cf5dd7b500f988a46ad5be4f6acee7d7fe132e 100644 (file)
@@ -209,12 +209,7 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
         return NPERR_GENERIC_ERROR;
     }
 
-    libvlc_media_list = libvlc_media_list_new(libvlc_instance,&ex);
-    if( libvlc_exception_raised(&ex) )
-    {
-        libvlc_exception_clear(&ex);
-        return NPERR_GENERIC_ERROR;
-    }
+    libvlc_media_list = libvlc_media_list_new(libvlc_instance);
 
     /*
     ** fetch plugin base URL, which is the URL of the page containing the plugin
@@ -386,7 +381,7 @@ void VlcPlugin::playlist_clear( libvlc_exception_t *ex )
 {
     if( libvlc_media_list )
         libvlc_media_list_release(libvlc_media_list);
-    libvlc_media_list = libvlc_media_list_new(getVLC(),ex);
+    libvlc_media_list = libvlc_media_list_new(getVLC());
 }
 
 int VlcPlugin::playlist_count()