From 591e465acff92bfdc76ed2d8990191862166c259 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 18 Jan 2010 23:33:17 +0000 Subject: [PATCH] Convert int -> enum PixelFormat in doTest(). Originally committed as revision 30367 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale-example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c index 8637b9f7ff..5ce6e54547 100644 --- a/libswscale/swscale-example.c +++ b/libswscale/swscale-example.c @@ -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};