]> granicus.if.org Git - libjpeg-turbo/commitdiff
Don't use deprecated constructor
authorDRC <dcommander@users.sourceforge.net>
Sun, 16 Mar 2014 19:33:07 +0000 (19:33 +0000)
committerDRC <dcommander@users.sourceforge.net>
Sun, 16 Mar 2014 19:33:07 +0000 (19:33 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1174 632fc199-4ca6-4c93-a231-07263d6284db

java/TJBench.java

index 72e6e10a08bdec00579a4896d2ad48f5c9c5bf33..8558699dcf8d0c11a5330e5c09758b286e79f5ac 100644 (file)
@@ -257,7 +257,7 @@ class TJBench {
                         (flags & TJ.FLAG_BOTTOMUP) != 0 ? "BU" : "TD",
                         subNameLong[subsamp]);
 
-    tjc = new TJCompressor(srcBuf, w, 0, h, pf);
+    tjc = new TJCompressor(srcBuf, 0, 0, w, 0, h, pf);
     tjc.setSubsamp(subsamp);
 
     /* Execute once to preload cache */