diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-08-23 20:31:38 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-08-23 20:31:38 +0000 |
commit | 89fb9516af2783ede7a5fbcf145ea122174d342b (patch) | |
tree | de963a13d6eda020ca257b27c85310573df4d675 | |
parent | 7da35acdab59bad969910a35ea1a7df5c23855d8 (diff) | |
download | ffmpeg-streaming-89fb9516af2783ede7a5fbcf145ea122174d342b.zip ffmpeg-streaming-89fb9516af2783ede7a5fbcf145ea122174d342b.tar.gz |
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
-rw-r--r-- | libswscale/swscale-example.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c index eaaae10..2eb58eb 100644 --- a/libswscale/swscale-example.c +++ b/libswscale/swscale-example.c @@ -180,7 +180,7 @@ end: 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 @@ static void selfTest(uint8_t *src[4], int stride[4], int w, int h) 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]); } } |