diff options
author | Christian Beier <[email protected]> | 2012-03-15 19:46:57 +0100 |
---|---|---|
committer | Christian Beier <[email protected]> | 2012-03-15 20:01:45 +0100 |
commit | 4c7e185a971bbc93ed4469c0442dfaeeda513982 (patch) | |
tree | f02fc18cdda50e0773ec1242edc0f8fc65f1885c | |
parent | 2ebf2d06f3c3b57d8882bc96b907600887590d69 (diff) | |
download | libtdevnc-4c7e185a971bbc93ed4469c0442dfaeeda513982.tar.gz libtdevnc-4c7e185a971bbc93ed4469c0442dfaeeda513982.zip |
Move tightsubsamplevel member to the end of rfbClient struct.
Try to not break ABI between releases. Even if the code gets ugly...
-rw-r--r-- | rfb/rfb.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -599,10 +599,6 @@ typedef struct _rfbClientRec { #if defined(LIBVNCSERVER_HAVE_LIBJPEG) || defined(LIBVNCSERVER_HAVE_LIBPNG) int tightCompressLevel; #endif -#ifdef LIBVNCSERVER_HAVE_TURBOVNC - /* TurboVNC Encoding support (extends TightVNC) */ - int tightSubsampLevel; -#endif #endif /* Ultra Encoding support */ @@ -677,6 +673,10 @@ typedef struct _rfbClientRec { int afterEncBufLen; #if defined(LIBVNCSERVER_HAVE_LIBZ) || defined(LIBVNCSERVER_HAVE_LIBPNG) uint32_t tightEncoding; /* rfbEncodingTight or rfbEncodingTightPng */ +#ifdef LIBVNCSERVER_HAVE_TURBOVNC + /* TurboVNC Encoding support (extends TightVNC) */ + int tightSubsampLevel; +#endif #endif #ifdef LIBVNCSERVER_WITH_WEBSOCKETS |