Commit 03997fa1 authored by Rémi Duraffort's avatar Rémi Duraffort

mozilla: really fix compilation (and check the return code).

parent 6ead52bb
......@@ -353,6 +353,8 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
}
libvlc_instance = libvlc_new(ppsz_argc, ppsz_argv);
if( !libvlc_instance )
return NPERR_GENERIC_ERROR;
libvlc_media_list = libvlc_media_list_new(libvlc_instance);
/*
......
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