diff options
author | Corentin Chary <corentincj@iksaif.net> | 2010-05-19 09:24:04 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-06-01 12:53:09 -0500 |
commit | b05ad290e2a5d9074179fede31d54371e1a09a6a (patch) | |
tree | cbe46b8d447740a8c024d07953d77d53a96a72c7 /vnc.h | |
parent | 780a049e29447275bd234a3974b2574316140a5f (diff) | |
download | qemu-b05ad290e2a5d9074179fede31d54371e1a09a6a.tar.gz qemu-b05ad290e2a5d9074179fede31d54371e1a09a6a.tar.bz2 qemu-b05ad290e2a5d9074179fede31d54371e1a09a6a.zip |
vnc: only use a single zlib stream
According to http://tigervnc.org/cgi-bin/rfbproto#zlib-encoding
zlib encoding only uses a single stream. Current implementation defines
4 streams but only uses the first one. Remove them and only use a single
stream.
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vnc.h')
-rw-r--r-- | vnc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -177,7 +177,7 @@ struct VncState /* Zlib */ Buffer zlib; Buffer zlib_tmp; - z_stream zlib_stream[4]; + z_stream zlib_stream; Notifier mouse_mode_notifier; |