]> git.sesse.net Git - mlt/blobdiff - src/modules/core/transition_composite.c
Fix calloc() parameter ordering
[mlt] / src / modules / core / transition_composite.c
index 8aa8a6163abc93d6be2ed3078179a4b62e1534f1..49d01f5d9c49181002e8c1ea5689628536ed23d1 100644 (file)
@@ -1327,7 +1327,7 @@ static mlt_frame composite_process( mlt_transition self, mlt_frame a_frame, mlt_
 
 mlt_transition transition_composite_init( mlt_profile profile, mlt_service_type type, const char *id, char *arg )
 {
-       mlt_transition self = calloc( sizeof( struct mlt_transition_s ), 1 );
+       mlt_transition self = calloc( 1, sizeof( struct mlt_transition_s ) );
        if ( self != NULL && mlt_transition_init( self, NULL ) == 0 )
        {
                mlt_properties properties = MLT_TRANSITION_PROPERTIES( self );