This commit is contained in:
Igor Pavlov
2015-01-03 00:00:00 +00:00
committed by Kornel Lesiński
parent 7e021179cd
commit 0713a3ab80
153 changed files with 2744 additions and 1485 deletions

View File

@@ -121,12 +121,12 @@ public:
void AlignToByte() { MovePos((32 - this->_bitPos) & 7); }
Byte ReadDirectByte() { return _stream.ReadByte(); }
Byte ReadDirectByte() { return this->_stream.ReadByte(); }
Byte ReadAlignedByte()
{
if (this->_bitPos == kNumBigValueBits)
return _stream.ReadByte();
return this->_stream.ReadByte();
Byte b = (Byte)(_normalValue & 0xFF);
MovePos(8);
return b;

View File

@@ -11,7 +11,7 @@
static const unsigned kNumCodecsMax = 48;
unsigned g_NumCodecs = 0;
const CCodecInfo *g_Codecs[kNumCodecsMax];
void RegisterCodec(const CCodecInfo *codecInfo)
void RegisterCodec(const CCodecInfo *codecInfo) throw()
{
if (g_NumCodecs < kNumCodecsMax)
g_Codecs[g_NumCodecs++] = codecInfo;

View File

@@ -4,7 +4,7 @@
#include "LzOutWindow.h"
void CLzOutWindow::Init(bool solid)
void CLzOutWindow::Init(bool solid) throw()
{
if (!solid)
COutBuffer::Init();

View File

@@ -39,7 +39,7 @@ public:
{
if (Symbol >= 0)
return (UInt32)Symbol;
return DecodeSymbol(bitStream);
return this->DecodeSymbol(bitStream);
}
};

View File

@@ -69,8 +69,6 @@ Byte CFilter::Decode(int &channelDelta, Byte deltaByte)
}
}
static const char *kNumberErrorMessage = "Number error";
static const UInt32 kHistorySize = 1 << 20;
static const int kNumStats = 11;