diff options
author | 2008-10-09 08:36:04 +0000 | |
---|---|---|
committer | 2008-10-09 08:36:04 +0000 | |
commit | a0d55235a7867cf3c42c4b6d0dafc9a677333288 (patch) | |
tree | 1ef22c1ccafe022149f50fdcdef7e34f8b272dcc | |
parent | 78f37058ff6658656f52fe6c82debb48723ba439 (diff) |
Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27733 b3059339-0415-0410-9bf9-f77b7e298cf2
-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; |