Another attempt at solving the compression level change problems. We were still
not detecting the correct approach properly, and hence still getting crashes.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4731 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rdr/ZlibOutStream.h b/common/rdr/ZlibOutStream.h
index 250bb03..2d82a13 100644
--- a/common/rdr/ZlibOutStream.h
+++ b/common/rdr/ZlibOutStream.h
@@ -46,6 +46,7 @@
private:
int overrun(int itemSize, int nItems);
+ void deflate(int flush);
void checkCompressionLevel();
OutStream* underlying;
@@ -55,7 +56,6 @@
int offset;
z_stream_s* zs;
U8* start;
- bool newBehavior;
};
} // end of namespace rdr