Browse Source

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
tags/v0.5
Carl Eugen Hoyos 17 years ago
parent
commit
f5a2c9816e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libswscale/swscale.c

+ 2
- 2
libswscale/swscale.c View File

@@ -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;


Loading…
Cancel
Save