OSDN Git Service

Convert int -> enum PixelFormat in doTest().
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 18 Jan 2010 23:33:17 +0000 (23:33 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 18 Jan 2010 23:33:17 +0000 (23:33 +0000)
Originally committed as revision 30367 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale-example.c

index 8637b9f..5ce6e54 100644 (file)
@@ -70,7 +70,7 @@ static uint64_t getSSD(uint8_t *src1, uint8_t *src2, int stride1, int stride2, i
 
 // test by ref -> src -> dst -> out & compare out against ref
 // ref & out are YV12
-static int doTest(uint8_t *ref[4], int refStride[4], int w, int h, int srcFormat, int dstFormat,
+static int doTest(uint8_t *ref[4], int refStride[4], int w, int h, enum PixelFormat srcFormat, enum PixelFormat dstFormat,
                   int srcW, int srcH, int dstW, int dstH, int flags)
 {
     uint8_t *src[4] = {0};