]> git.sesse.net Git - mlt/commitdiff
frei0r/factory.c, producer_frei0r.c: suppress compiler warnings
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 3 Mar 2009 04:54:42 +0000 (04:54 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 3 Mar 2009 04:54:42 +0000 (04:54 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@1372 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/frei0r/factory.c
src/modules/frei0r/producer_frei0r.c

index fbdd796294465ecdde0a52a8b67586eb2155e706..08a10e9b6cbb05bc4c2800978a5792b9fae1af45 100644 (file)
@@ -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 );
 
index 4f9c3e87c6663a7450183dec42b47e9f9f05ab4a..ae1a26d8a1664da03e06cd6f5f5651dc08aa51d6 100644 (file)
@@ -20,6 +20,8 @@
 #include <framework/mlt.h>
 
 #include "frei0r_helper.h"
+
+#include <stdlib.h>
 #include <string.h>
 
 static int producer_get_image( mlt_frame frame, uint8_t **buffer, mlt_image_format *format, int *width, int *height, int writable )