diff options
author | dscho <dscho> | 2008-01-31 11:52:25 +0000 |
---|---|---|
committer | dscho <dscho> | 2008-01-31 11:52:25 +0000 |
commit | 3d9a5639838d18e790586f0acc294fdf7ebadd74 (patch) | |
tree | a86d139c20fab5e1be43134081db7dd19a7a55c7 /rfb | |
parent | ce8d6c2409ca15f0fb5800b1c2c0a03e86683fc2 (diff) | |
download | libtdevnc-3d9a5639838d18e790586f0acc294fdf7ebadd74.tar.gz libtdevnc-3d9a5639838d18e790586f0acc294fdf7ebadd74.zip |
Move tightQualityLevel out of the JPEG specific part
The variable tightQualityLevel is used for ZYWRLE compression, too,
so if libjpeg is not present, but libz is, we still need to have
that struct member.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'rfb')
-rw-r--r-- | rfb/rfb.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -525,6 +525,8 @@ typedef struct _rfbClientRec { struct z_stream_s compStream; rfbBool compStreamInited; uint32_t zlibCompressLevel; + /* the quality level is also used by ZYWRLE */ + int tightQualityLevel; #ifdef LIBVNCSERVER_HAVE_LIBJPEG /* tight encoding -- preserve zlib streams' state for each client */ @@ -532,7 +534,6 @@ typedef struct _rfbClientRec { rfbBool zsActive[4]; int zsLevel[4]; int tightCompressLevel; - int tightQualityLevel; #endif #endif |