if(targetUncompressSize<MIN_ZLIB_DEC_ALLOMEM_BYTES)//Considering the minimum size
if(targetUncompressSize<MIN_ZLIB_DEC_ALLOMEM_BYTES)//Considering the minimum size
targetUncompressSize=MIN_ZLIB_DEC_ALLOMEM_BYTES;
targetUncompressSize=MIN_ZLIB_DEC_ALLOMEM_BYTES;
tmpSize=sz_lossless_decompress(pde_params->losslessCompressor,cmpBytes,(unsignedlong)cmpSize,&szTmpBytes,(unsignedlong)targetUncompressSize+4+MetaDataByteLength+exe_params->SZ_SIZE_TYPE);// (unsigned long)targetUncompressSize+8: consider the total length under lossless compression mode is actually 3+4+1+targetUncompressSize
tmpSize=sz_lossless_decompress(pde_params->losslessCompressor,cmpBytes,(unsignedlong)cmpSize,&szTmpBytes,(unsignedlong)targetUncompressSize+4+MetaDataByteLength+exe_params->SZ_SIZE_TYPE);// (unsigned long)targetUncompressSize+8: consider the total length under lossless compression mode is actually 3+4+1+targetUncompressSize
needFree=true;
}
else
{
printf("Wrong value of pde_params->szMode in the double compressed bytes.\n");