]> git.sesse.net Git - mlt/blobdiff - src/modules/core/transition_composite.c
provisional framework docs and corrections
[mlt] / src / modules / core / transition_composite.c
index 1cfed9be2dd7ac5559ee4217caa971e1264d38f5..3c4557ed356e486e9f002b159e3a7d74f36b18fa 100644 (file)
@@ -817,7 +817,7 @@ static int get_b_frame_image( mlt_transition this, mlt_frame b_frame, uint8_t **
        *width = geometry->sw * *width / geometry->nw;
        *height = geometry->sh * *height / geometry->nh;
 
-       x -= x % 2;
+       x &= 0xfffffffe;
 
        // optimization points - no work to do
        if ( *width < 1 || *height < 1 )