]> granicus.if.org Git - libjpeg-turbo/commitdiff
TJBench: Fix regression/-nowrite always enabled
authorDRC <information@libjpeg-turbo.org>
Wed, 16 Nov 2016 21:08:16 +0000 (15:08 -0600)
committerDRC <information@libjpeg-turbo.org>
Sun, 20 Nov 2016 22:22:23 +0000 (16:22 -0600)
Introduced by eb59b6e72d8098a1f7b8c7e0c710b32eb6f5dc45

ChangeLog.md
java/TJBench.java

index 71ddcaa9799df53db1515e8d60a97724d9f4f6da..75bb04039bd8668d33b1a0be86726e031bcf77d1 100644 (file)
@@ -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
 =====
index 19db789c884dc7408d83f93d4ad615039e82aba9..23fab612f8ff92b42c8cada7afd3f198ea842761 100644 (file)
@@ -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"