Commit bf6bc35c authored by cehoyos's avatar cehoyos

Change variable types from int to enum PixelFormat.

Fixes icc warning #188: enumerated type mixed with another type


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@27733 b3059339-0415-0410-9bf9-f77b7e298cf2
parent d69f9c1c
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment