# HG changeset patch # User stefano # Date 1263857597 0 # Node ID 49e0dd1be4ab86978b3ec4bf261363b66945954d # Parent 749d2b746cc0d8536e156b61c041e1c090a0b290 Convert int -> enum PixelFormat in doTest(). diff -r 749d2b746cc0 -r 49e0dd1be4ab libswscale/swscale-example.c --- a/libswscale/swscale-example.c Mon Jan 18 10:44:30 2010 +0000 +++ b/libswscale/swscale-example.c Mon Jan 18 23:33:17 2010 +0000 @@ -70,7 +70,7 @@ // 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};