From c44a13c662ab0b8b8ae08177e5753453d3a5bf2f Mon Sep 17 00:00:00 2001 From: Constantin Kaplinsky Date: Wed, 21 Sep 2005 06:57:52 +0000 Subject: [PATCH] Updated buffer size in ZRLE encoder, fix copied from VNC 4.1.1. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@323 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- rfb/ZRLEEncoder.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rfb/ZRLEEncoder.cxx b/rfb/ZRLEEncoder.cxx index 1f288691..d84c4cfb 100644 --- a/rfb/ZRLEEncoder.cxx +++ b/rfb/ZRLEEncoder.cxx @@ -1,5 +1,5 @@ -/* Copyright (C) 2002-2004 RealVNC Ltd. All Rights Reserved. - * +/* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved. + * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -27,7 +27,7 @@ using namespace rfb; rdr::MemOutStream* ZRLEEncoder::sharedMos = 0; -int ZRLEEncoder::maxLen = 513 * 1024; // enough for width 2048 32-bit pixels +int ZRLEEncoder::maxLen = 4097 * 1024; // enough for width 16384 32-bit pixels IntParameter zlibLevel("ZlibLevel","Zlib compression level",-1); -- 2.39.5