diff libswscale/swscale_internal.h @ 27695:9cf6c7c5c7cd

Change variable types from int to enum PixelFormat. Fixes icc warning #188: enumerated type mixed with another type
author cehoyos
date Tue, 07 Oct 2008 19:44:39 +0000
parents 203ac2c7f613
children 2b4929069763
line wrap: on
line diff
--- a/libswscale/swscale_internal.h	Tue Oct 07 08:25:47 2008 +0000
+++ b/libswscale/swscale_internal.h	Tue Oct 07 19:44:39 2008 +0000
@@ -71,7 +71,7 @@
     int chrSrcW, chrSrcH, chrDstW, chrDstH;
     int lumXInc, chrXInc;
     int lumYInc, chrYInc;
-    int dstFormat, srcFormat;               ///< format 4:2:0 type is always YV12
+    enum PixelFormat dstFormat, srcFormat;  ///< format 4:2:0 type is always YV12
     int origDstFormat, origSrcFormat;       ///< format
     int chrSrcHSubSample, chrSrcVSubSample;
     int chrIntHSubSample, chrIntVSubSample;