]> git.sesse.net Git - mlt/blobdiff - src/modules/avsync/producer_blipflash.c
Fix typo in logic
[mlt] / src / modules / avsync / producer_blipflash.c
index e677445e9799affdf15d9a3d0087e3066b66eb13..612f4d154dd4aa3125ee6fcedd477539bd3914d7 100644 (file)
@@ -205,7 +205,7 @@ static int producer_get_image( mlt_frame frame, uint8_t** buffer, mlt_image_form
        mlt_service_lock( MLT_PRODUCER_SERVICE( producer ) );
 
        // Correct the returns if necessary
-       if( *format != mlt_image_yuv422 || *format != mlt_image_rgb24 || *format != mlt_image_rgb24a )
+       if( *format != mlt_image_yuv422 && *format != mlt_image_rgb24 && *format != mlt_image_rgb24a )
                *format = mlt_image_yuv422;
        if( *width <= 0 )
                *width = mlt_service_profile( MLT_PRODUCER_SERVICE(producer) )->width;