changeset 30325:49e0dd1be4ab

Convert int -> enum PixelFormat in doTest().
author stefano
date Mon, 18 Jan 2010 23:33:17 +0000
parents 749d2b746cc0
children 63f2871ba1b3
files libswscale/swscale-example.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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};