mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 02:07:09 -06:00
Update lz4, lz5 and zstd to latest stable series
- added some more error checking in zstdmt also
This commit is contained in:
@@ -32,12 +32,11 @@ unsigned LZ4MT_isError(size_t code)
|
||||
*/
|
||||
const char *LZ4MT_getErrorString(size_t code)
|
||||
{
|
||||
static const char *notErrorCode = "Unspecified error lz4mt code";
|
||||
|
||||
if (LZ4F_isError(lz4mt_errcode))
|
||||
return LZ4F_getErrorName(lz4mt_errcode);
|
||||
|
||||
switch ((LZ4MT_ErrorCode)(0-code)) {
|
||||
static const char *notErrorCode = "Unspecified error lz4mt code";
|
||||
switch ((LZ4MT_ErrorCode) (0 - code)) {
|
||||
case PREFIX(no_error):
|
||||
return "No error detected";
|
||||
case PREFIX(memory_allocation):
|
||||
|
||||
Reference in New Issue
Block a user