Commit dbca7907 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Mozilla: compile fix

parent 20773c48
...@@ -209,12 +209,7 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[]) ...@@ -209,12 +209,7 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
return NPERR_GENERIC_ERROR; return NPERR_GENERIC_ERROR;
} }
libvlc_media_list = libvlc_media_list_new(libvlc_instance,&ex); libvlc_media_list = libvlc_media_list_new(libvlc_instance);
if( libvlc_exception_raised(&ex) )
{
libvlc_exception_clear(&ex);
return NPERR_GENERIC_ERROR;
}
/* /*
** fetch plugin base URL, which is the URL of the page containing the plugin ** 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 ) ...@@ -386,7 +381,7 @@ void VlcPlugin::playlist_clear( libvlc_exception_t *ex )
{ {
if( libvlc_media_list ) if( libvlc_media_list )
libvlc_media_list_release(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() int VlcPlugin::playlist_count()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment