]> source.dussan.org Git - tigervnc.git/commitdiff
Updated buffer size in ZRLE encoder, fix copied from VNC 4.1.1.
authorConstantin Kaplinsky <const@tightvnc.com>
Wed, 21 Sep 2005 06:57:52 +0000 (06:57 +0000)
committerConstantin Kaplinsky <const@tightvnc.com>
Wed, 21 Sep 2005 06:57:52 +0000 (06:57 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@323 3789f03b-4d11-0410-bbf8-ca57d06f2519

rfb/ZRLEEncoder.cxx

index 1f288691dcef107d9c38faf61507b61c12a38640..d84c4cfbc887058b65eda638feb6e4f8930d2396 100644 (file)
@@ -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);