From: Jean-Baptiste Kempf Date: Thu, 28 Jan 2010 23:59:24 +0000 (+0100) Subject: Mozilla: compile fix X-Git-Tag: 1.1.0-ff~733 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=dbca7907c5788d62006f88d769e0c40c4544886b;p=vlc Mozilla: compile fix --- diff --git a/projects/mozilla/vlcplugin.cpp b/projects/mozilla/vlcplugin.cpp index 47f08b5cf8..80cf5dd7b5 100644 --- a/projects/mozilla/vlcplugin.cpp +++ b/projects/mozilla/vlcplugin.cpp @@ -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()