diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-07-23 20:26:32 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-07-23 20:26:32 +0000 |
commit | da78053af083d6c2f6b78398df2bf23c531e5caf (patch) | |
tree | 5c8919665eea959da7a86f02ac5202cac00f9975 /libswscale/swscale-test.c | |
parent | 9fddd14a8ed8ab8878e116689b3e30022a80f970 (diff) | |
download | ffmpeg-da78053af083d6c2f6b78398df2bf23c531e5caf.tar.gz |
swscale-test: change order tests are run, maintaining the same algorithm for
sequential geometries instead of running all algorithms sequentially for each
geometry.
Originally committed as revision 31775 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale-test.c')
-rw-r--r-- | libswscale/swscale-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale-test.c b/libswscale/swscale-test.c index c1dca198a4..d29fe5734e 100644 --- a/libswscale/swscale-test.c +++ b/libswscale/swscale-test.c @@ -218,9 +218,9 @@ static void selfTest(uint8_t *ref[4], int refStride[4], int w, int h) av_pix_fmt_descriptors[dstFormat].name); fflush(stdout); + for (k = 0; flags[k] && !res; k++) for (i = 0; dstW[i] && !res; i++) for (j = 0; dstH[j] && !res; j++) - for (k = 0; flags[k] && !res; k++) res = doTest(ref, refStride, w, h, srcFormat, dstFormat, srcW, srcH, dstW[i], dstH[j], flags[k]); } |