TJBench: Fix regression/-nowrite always enabled
Introduced by eb59b6e72d
This commit is contained in:
@@ -9,6 +9,10 @@ building with Android NDK platforms prior to android-21 (5.0).
|
||||
2. Fixed a regression introduced by 1.5.1[1] that prevented the MIPS DSPR2 SIMD
|
||||
code in libjpeg-turbo from building.
|
||||
|
||||
3. Fixed a regression introduced by 1.5 beta1[11] that prevented the Java
|
||||
version of TJBench from outputting any reference images (the `-nowrite` switch
|
||||
was accidentally enabled by default.)
|
||||
|
||||
|
||||
1.5.1
|
||||
=====
|
||||
|
||||
@@ -35,7 +35,7 @@ import org.libjpegturbo.turbojpeg.*;
|
||||
class TJBench {
|
||||
|
||||
static int flags = 0, quiet = 0, pf = TJ.PF_BGR, yuvpad = 1, warmup = 1;
|
||||
static boolean compOnly, decompOnly, doTile, doYUV, write;
|
||||
static boolean compOnly, decompOnly, doTile, doYUV, write = true;
|
||||
|
||||
static final String[] pixFormatStr = {
|
||||
"RGB", "BGR", "RGBX", "BGRX", "XBGR", "XRGB", "GRAY"
|
||||
|
||||
Reference in New Issue
Block a user