]> git.sesse.net Git - mlt/blobdiff - src/modules/jackrack/plugin_mgr.c
Aspect ratio fix in affine transition.
[mlt] / src / modules / jackrack / plugin_mgr.c
index 7d96dfcf53bd83716815762237aa726e52bf1c49..a5842105c565dd6ab490e09e765703c5a79df8ea 100644 (file)
@@ -80,7 +80,7 @@ plugin_mgr_get_object_file_plugins (plugin_mgr_t * plugin_mgr, const char * file
   int err;
   
   /* open the object file */
-  dl_handle = dlopen (filename, RTLD_NOW|RTLD_GLOBAL);
+  dl_handle = dlopen (filename, RTLD_NOW);
   if (!dl_handle)
     {
       mlt_log_info( NULL, "%s: error opening shared object file '%s': %s\n",
@@ -106,7 +106,7 @@ plugin_mgr_get_object_file_plugins (plugin_mgr_t * plugin_mgr, const char * file
 #ifdef __DARWIN__
   if (!get_descriptor (0)) {
     void (*constructor)(void) = dlsym (dl_handle, "_init");
-    constructor();
+    if (constructor) constructor();
   }
 #endif