4.25 beta

This commit is contained in:
Igor Pavlov
2005-08-01 00:00:00 +00:00
committed by Kornel Lesiński
parent 47f4915611
commit af1fe52701
359 changed files with 5969 additions and 9853 deletions

View File

@@ -336,10 +336,12 @@ HRESULT CDecoder::Decode(IInStream *inStream,
if (result == S_OK)
{
const CByteBuffer &properties = altCoderInfo.Properties;
UInt32 size = properties.GetCapacity();
size_t size = properties.GetCapacity();
if (size > 0xFFFFFFFF)
return E_NOTIMPL;
if (size > 0)
{
RINOK(compressSetDecoderProperties->SetDecoderProperties2((const Byte *)properties, size));
RINOK(compressSetDecoderProperties->SetDecoderProperties2((const Byte *)properties, (UInt32)size));
}
}
else if (result != E_NOINTERFACE)