]> git.sesse.net Git - mlt/commitdiff
fix regression due to alpha channels of A and B swapped
authorDan Dennedy <dan@dennedy.org>
Sat, 7 Apr 2012 18:40:43 +0000 (11:40 -0700)
committerDan Dennedy <dan@dennedy.org>
Sat, 7 Apr 2012 18:40:43 +0000 (11:40 -0700)
src/modules/core/transition_luma.c

index ae7015b47d1e7500d6e043c157700c4608407072..c3263da25b78a620a5984af2c424f52657195085 100644 (file)
@@ -51,10 +51,10 @@ static inline int dissolve_yuv( mlt_frame this, mlt_frame that, float weight, in
        // Pick the lesser of two evils ;-)
        width_src = width_src > width ? width : width_src;
        height_src = height_src > height ? height : height_src;
-       
+
        while ( --i )
        {
-               composite_line_yuv( p_dest, p_src, width_src, alpha_dst, alpha_src, mix, NULL, 0, 0 );
+               composite_line_yuv( p_dest, p_src, width_src, alpha_src, alpha_dst, mix, NULL, 0, 0 );
                p_src += width_src << 1;
                p_dest += width << 1;
                alpha_src += width_src;