]> git.sesse.net Git - mlt/blobdiff - src/modules/core/filter_audioconvert.c
Fix calloc() parameter ordering
[mlt] / src / modules / core / filter_audioconvert.c
index d1f7cb33bb416cfc4dbe5d903230b9ca366dca69..67b78ea61ef6d0f2b082906eea16b3aa703c3e5f 100644 (file)
@@ -419,7 +419,7 @@ static mlt_frame filter_process( mlt_filter this, mlt_frame frame )
 
 mlt_filter filter_audioconvert_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;
        return this;