Merge ../mlt
[melted] / src / modules / frei0r / factory.c
index fbdd796..8e2ab99 100644 (file)
@@ -30,7 +30,7 @@
 #include <stdlib.h>
 #include <limits.h>
 
-#define FREI0R_PLUGIN_PATH "/usr/lib/frei0r-1:/usr/local/lib/frei0r-1:/opt/local/lib/frei0r-1"
+#define FREI0R_PLUGIN_PATH "/usr/lib/frei0r-1:/usr/local/lib/frei0r-1:/usr/lib64/frei0r-1:/opt/local/lib/frei0r-1"
 
 extern mlt_filter filter_frei0r_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg );
 extern mlt_frame filter_process( mlt_filter this, mlt_frame frame );
@@ -181,7 +181,7 @@ static void * load_lib(  mlt_profile profile, mlt_service_type type , void* hand
                        if ( this != NULL )
                        {
                                this->get_frame = producer_get_frame;
-                               this->close = producer_close;
+                               this->close = ( mlt_destructor )producer_close;
                                f0r_init();
                                properties=MLT_PRODUCER_PROPERTIES ( this );