From: Brian Matherly Date: Sat, 9 Mar 2013 23:07:15 +0000 (-0600) Subject: Fix typo in logic X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e9e03c0599b2e56e89bd78ffbb2b342b0ffff8c7;p=mlt Fix typo in logic --- diff --git a/src/modules/avsync/producer_blipflash.c b/src/modules/avsync/producer_blipflash.c index e677445e..612f4d15 100644 --- a/src/modules/avsync/producer_blipflash.c +++ b/src/modules/avsync/producer_blipflash.c @@ -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;