From 5cb1b68d396524ee2b09c5a9c77b0a1d99d82d19 Mon Sep 17 00:00:00 2001 From: DRC Date: Thu, 24 Feb 2011 22:13:20 +0000 Subject: [PATCH] Tiling doesn't work with YUV encoding either 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jpgtest.c b/jpgtest.c index 25e9ef3..a2c04b0 100644 --- 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 -- 2.40.0