[FFmpeg-cvslog] r32395 - trunk/libswscale/swscale.c

bcoudurier subversion
Tue Sep 28 01:47:54 CEST 2010


Author: bcoudurier
Date: Tue Sep 28 01:47:54 2010
New Revision: 32395

Log:
100l fix if condition

Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	Tue Sep 28 00:24:03 2010	(r32394)
+++ trunk/libswscale/swscale.c	Tue Sep 28 01:47:54 2010	(r32395)
@@ -1941,7 +1941,7 @@ int sws_scale(SwsContext *c, const uint8
                 r= (i>>3    )*255;
                 g= ((i>>1)&3)*85;
                 b= (i&1     )*255;
-            } else if(c->srcFormat == PIX_FMT_GRAY8 || PIX_FMT_Y400A) {
+            } else if(c->srcFormat == PIX_FMT_GRAY8 || c->srcFormat == PIX_FMT_Y400A) {
                 r = g = b = i;
             } else {
                 assert(c->srcFormat == PIX_FMT_BGR4_BYTE);



More information about the ffmpeg-cvslog mailing list