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

cehoyos subversion
Thu Oct 9 10:36:04 CEST 2008


Author: cehoyos
Date: Thu Oct  9 10:36:04 2008
New Revision: 27733

Log:
Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type


Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	(original)
+++ trunk/libswscale/swscale.c	Thu Oct  9 10:36:04 2008
@@ -1716,8 +1716,8 @@ static int YUV422PToUyvyWrapper(SwsConte
 
 static int pal2rgbWrapper(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
                           int srcSliceH, uint8_t* dst[], int dstStride[]){
-    const int srcFormat= c->srcFormat;
-    const int dstFormat= c->dstFormat;
+    const enum PixelFormat srcFormat= c->srcFormat;
+    const enum PixelFormat dstFormat= c->dstFormat;
     void (*conv)(const uint8_t *src, uint8_t *dst, long num_pixels,
                  const uint8_t *palette)=NULL;
     int i;




More information about the ffmpeg-cvslog mailing list