Commit 89fb9516 authored by Ramiro Polla's avatar Ramiro Polla

swscale-example: Rename src->ref so as to not confuse with src being used in doTest().

Originally committed as revision 29548 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent 7da35acd
...@@ -180,7 +180,7 @@ end: ...@@ -180,7 +180,7 @@ end:
return res; 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, const int flags[] = { SWS_FAST_BILINEAR,
SWS_BILINEAR, SWS_BICUBIC, SWS_BILINEAR, SWS_BICUBIC,
...@@ -204,7 +204,7 @@ static void selfTest(uint8_t *src[4], int stride[4], int w, int h) ...@@ -204,7 +204,7 @@ static void selfTest(uint8_t *src[4], int stride[4], int w, int h)
for (i = 0; dstW[i] && !res; i++) for (i = 0; dstW[i] && !res; i++)
for (j = 0; dstH[j] && !res; j++) for (j = 0; dstH[j] && !res; j++)
for (k = 0; flags[k] && !res; k++) 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]); srcW, srcH, dstW[i], dstH[j], flags[k]);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment