From 18f9a9bebccfdf28ff4cab1e74cc910e26f3aac4 Mon Sep 17 00:00:00 2001 From: stefano Date: Mon, 18 Jan 2010 23:33:17 +0000 Subject: Convert int -> enum PixelFormat in doTest(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30367 b3059339-0415-0410-9bf9-f77b7e298cf2 --- 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}; -- cgit v1.2.3