diff options
author | Pierre Ossman <ossman@cendio.se> | 2018-09-20 10:49:40 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2018-09-20 12:08:46 +0200 |
commit | 4694d88cb56497f74b7d0f67a3f0e7b731ce659d (patch) | |
tree | f9a7cb92878093802861e666844e0b04a945fe90 /common/rfb/RREEncoder.cxx | |
parent | cb5a3992110f4a9a3d13504e3d3fef73eec114d0 (diff) | |
download | tigervnc-4694d88cb56497f74b7d0f67a3f0e7b731ce659d.tar.gz tigervnc-4694d88cb56497f74b7d0f67a3f0e7b731ce659d.zip |
Don't force encoders to specify palette size
Most encoders don't have a palette mode, so don't force them to
specify a dummy value to the Encoder base class constructor.
Diffstat (limited to 'common/rfb/RREEncoder.cxx')
-rw-r--r-- | common/rfb/RREEncoder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/RREEncoder.cxx b/common/rfb/RREEncoder.cxx index 60a06633..7287e7eb 100644 --- a/common/rfb/RREEncoder.cxx +++ b/common/rfb/RREEncoder.cxx @@ -37,7 +37,7 @@ using namespace rfb; #undef BPP RREEncoder::RREEncoder(SConnection* conn) : - Encoder(conn, encodingRRE, EncoderPlain, -1) + Encoder(conn, encodingRRE, EncoderPlain) { } |