summaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/rfb/TightDecoder.java
diff options
context:
space:
mode:
authorBrian P. Hinz <bphinz@users.sf.net>2017-04-17 06:46:59 -0400
committerBrian P. Hinz <bphinz@users.sf.net>2017-04-17 06:55:41 -0400
commit606ca31f38df72908a10d35b1fe4412e6e4851a7 (patch)
treeedaf5cec20ab36b9eafdfd17f238d3489f08fd78 /java/com/tigervnc/rfb/TightDecoder.java
parentc26b4b3bd20b40ca5f1ae9477164473fbd94995d (diff)
downloadtigervnc-606ca31f38df72908a10d35b1fe4412e6e4851a7.tar.gz
tigervnc-606ca31f38df72908a10d35b1fe4412e6e4851a7.zip
More fixes for java viewer performance regression
Diffstat (limited to 'java/com/tigervnc/rfb/TightDecoder.java')
-rw-r--r--java/com/tigervnc/rfb/TightDecoder.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/java/com/tigervnc/rfb/TightDecoder.java b/java/com/tigervnc/rfb/TightDecoder.java
index aa468eb8..b180707d 100644
--- a/java/com/tigervnc/rfb/TightDecoder.java
+++ b/java/com/tigervnc/rfb/TightDecoder.java
@@ -236,8 +236,7 @@ public class TightDecoder extends Decoder {
buflen -= 4;
// We always use direct decoding with JPEG images
- buf = pb.getBufferRW(r);
- jd.decompress(bufptr, len, buf, r, pb.getPF());
+ jd.decompress(bufptr, len, pb, r, pb.getPF());
pb.commitBufferRW(r);
return;
}