diff options
Diffstat (limited to 'java/com/tigervnc/rfb/TightDecoder.java')
-rw-r--r-- | java/com/tigervnc/rfb/TightDecoder.java | 3 |
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; } |