4.40 beta

This commit is contained in:
Igor Pavlov
2006-05-01 00:00:00 +00:00
committed by Kornel Lesiński
parent 3415684502
commit bd9a40b0ed
61 changed files with 2710 additions and 187 deletions

View File

@@ -47,7 +47,6 @@ HRESULT CEncoder::WriteHeader(ISequentialOutStream *outStream)
CRandom random;
random.Init(::GetTickCount());
UInt64 nowPos = 0;
Byte header[kHeaderSize];
for (int i = 0; i < kHeaderSize - 2; i++)
{
@@ -80,7 +79,6 @@ STDMETHODIMP CDecoder::CryptoSetPassword(const Byte *data, UInt32 size)
HRESULT CDecoder::ReadHeader(ISequentialInStream *inStream)
{
UInt64 nowPos = 0;
Byte header[kHeaderSize];
UInt32 processedSize;
RINOK(ReadStream(inStream, header, kHeaderSize, &processedSize));