# HG changeset patch # User ramiro # Date 1251059498 0 # Node ID b7d639772e17f2913f12adbedcb8976668d550ec # Parent fa1ad0b67187fd1cdc23cce82382d562aaf43790 swscale-example: Rename src->ref so as to not confuse with src being used in doTest(). diff -r fa1ad0b67187 -r b7d639772e17 libswscale/swscale-example.c --- a/libswscale/swscale-example.c Sun Aug 23 20:29:49 2009 +0000 +++ b/libswscale/swscale-example.c Sun Aug 23 20:31:38 2009 +0000 @@ -180,7 +180,7 @@ return res; } -static void selfTest(uint8_t *src[4], int stride[4], int w, int h) +static void selfTest(uint8_t *ref[4], int refStride[4], int w, int h) { const int flags[] = { SWS_FAST_BILINEAR, SWS_BILINEAR, SWS_BICUBIC, @@ -204,7 +204,7 @@ for (i = 0; dstW[i] && !res; i++) for (j = 0; dstH[j] && !res; j++) for (k = 0; flags[k] && !res; k++) - res = doTest(src, stride, w, h, srcFormat, dstFormat, + res = doTest(ref, refStride, w, h, srcFormat, dstFormat, srcW, srcH, dstW[i], dstH[j], flags[k]); } }