Skip to content
Snippets Groups Projects
Commit 557ba0e5 authored by Cameron Esfahani's avatar Cameron Esfahani Committed by Gerd Hoffmann
Browse files

vnc: prioritize ZRLE compression over ZLIB


In my investigation, ZRLE always compresses better than ZLIB so
prioritize ZRLE over ZLIB, even if the client hints that ZLIB is
preferred.

zlib buffer is always reset in zrle_compress_data(), so using offset to
calculate next_out and avail_out is useless.

Signed-off-by: default avatarCameron Esfahani <dirty@apple.com>
Message-Id: <b5d129895d08a90d0a2a6183b95875bacfa998b8.1579582674.git.dirty@apple.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent 0780ec7b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment