mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-10 02:07:07 -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 LZ5MT_isError(size_t code)
|
||||
*/
|
||||
const char *LZ5MT_getErrorString(size_t code)
|
||||
{
|
||||
static const char *notErrorCode = "Unspecified error lz4mt code";
|
||||
|
||||
if (LZ5F_isError(lz5mt_errcode))
|
||||
return LZ5F_getErrorName(lz5mt_errcode);
|
||||
|
||||
switch ((LZ5MT_ErrorCode)(0-code)) {
|
||||
static const char *notErrorCode = "Unspecified error lz4mt code";
|
||||
switch ((LZ5MT_ErrorCode) (0 - code)) {
|
||||
case PREFIX(no_error):
|
||||
return "No error detected";
|
||||
case PREFIX(memory_allocation):
|
||||
|
||||
Reference in New Issue
Block a user