fix valgrind errors
parent
bb82d51d1e
commit
1dc4ead999
|
|
@ -43,6 +43,8 @@ class DL_FixedBasePrecomputationImpl : public DL_FixedBasePrecomputation<T>
|
|||
public:
|
||||
typedef T Element;
|
||||
|
||||
DL_FixedBasePrecomputationImpl() : m_windowSize(0) {}
|
||||
|
||||
// DL_FixedBasePrecomputation
|
||||
bool IsInitialized() const
|
||||
{return !m_bases.empty();}
|
||||
|
|
|
|||
|
|
@ -214,6 +214,7 @@ inline void HuffmanEncoder::Encode(LowFirstBitWriter &writer, value_t value) con
|
|||
|
||||
Deflator::Deflator(BufferedTransformation *attachment, int deflateLevel, int log2WindowSize, bool detectUncompressible)
|
||||
: LowFirstBitWriter(attachment)
|
||||
, m_deflateLevel(-1)
|
||||
{
|
||||
InitializeStaticEncoders();
|
||||
IsolatedInitialize(MakeParameters("DeflateLevel", deflateLevel)("Log2WindowSize", log2WindowSize)("DetectUncompressible", detectUncompressible));
|
||||
|
|
|
|||
Loading…
Reference in New Issue