]> granicus.if.org Git - libjpeg-turbo/commitdiff
Tiling doesn't work with YUV encoding either
authorDRC <dcommander@users.sourceforge.net>
Thu, 24 Feb 2011 22:13:20 +0000 (22:13 +0000)
committerDRC <dcommander@users.sourceforge.net>
Thu, 24 Feb 2011 22:13:20 +0000 (22:13 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.1.x@439 632fc199-4ca6-4c93-a231-07263d6284db

jpgtest.c

index 25e9ef3ac2aafd6faf877f2b34d8d15d3852a809..a2c04b027b958279a71162562ce44c7e446374f6 100644 (file)
--- a/jpgtest.c
+++ b/jpgtest.c
@@ -100,7 +100,7 @@ void dotest(unsigned char *srcbuf, int w, int h, int pf, int bu,
                        printf(">>>>>  %s (%s) <--> JPEG %s Q%d  <<<<<\n", _pfname[pf],
                                bu?"Bottom-up":"Top-down", _subnamel[jpegsub], qual);
        }
-       if(yuv==YUVDECODE) dotile=0;
+       if(yuv) dotile=0;
        if(dotile) {tilesizex=tilesizey=4;}  else {tilesizex=w;  tilesizey=h;}
 
        do