]> git.sesse.net Git - mlt/blobdiff - src/modules/core/filter_imageconvert.c
Fix calloc() parameter ordering
[mlt] / src / modules / core / filter_imageconvert.c
index 001618575328ad389f7cbf0f0758837e4db34031..f651f172a067b67955effd116690c0c90e42e59e 100644 (file)
@@ -381,7 +381,7 @@ static mlt_frame filter_process( mlt_filter this, mlt_frame frame )
 
 mlt_filter filter_imageconvert_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg )
 {
-       mlt_filter this = calloc( sizeof( struct mlt_filter_s ), 1 );
+       mlt_filter this = calloc( 1, sizeof( struct mlt_filter_s ) );
        if ( mlt_filter_init( this, this ) == 0 )
        {
                this->process = filter_process;