consumer_avformat.c: bugfix recent regression with setting aspect ratio. Now it takes...
[melted] / src / modules / vmfx / filter_chroma.c
index d9ab009..7616856 100644 (file)
@@ -18,7 +18,7 @@
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include "filter_chroma.h"
+#include <framework/mlt_filter.h>
 #include <stdlib.h>
 #include <math.h>
 #include <framework/mlt_factory.h>
@@ -63,7 +63,7 @@ static int filter_get_image( mlt_frame frame, uint8_t **image, mlt_image_format
                while ( size -- )
                {
                        *alpha = alpha_value( *alpha, p, u, v, variance, 0 );
-                       *alpha ++;
+                       alpha ++;
                        *alpha = alpha_value( *alpha, p, u, v, variance, 1 );
                        alpha ++;
                        p += 4;
@@ -86,7 +86,7 @@ static mlt_frame filter_process( mlt_filter this, mlt_frame frame )
 /** Constructor for the filter.
 */
 
-mlt_filter filter_chroma_init( char *arg )
+mlt_filter filter_chroma_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg )
 {
        mlt_filter this = mlt_filter_new( );
        if ( this != NULL )