diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2008-10-09 08:36:04 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2008-10-09 08:36:04 +0000 |
commit | f5a2c9816e0b58edf2a87297be8d648631fc3432 (patch) | |
tree | c0aebef2257457505c69f67a0a5c01a8f755d78b | |
parent | 51f4155fef36b35ff2053b98ee7edca25d65e5d0 (diff) | |
download | ffmpeg-f5a2c9816e0b58edf2a87297be8d648631fc3432.tar.gz |
Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type
Originally committed as revision 27733 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r-- | libswscale/swscale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index f3afb16695..577a0dfa9d 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1716,8 +1716,8 @@ static int YUV422PToUyvyWrapper(SwsContext *c, uint8_t* src[], int srcStride[], 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; |