Update lz4, lz5 and zstd to latest stable series

- added some more error checking in zstdmt also
This commit is contained in:
Tino Reichardt
2016-12-24 12:17:51 +01:00
parent 4c28e3fa11
commit 294d1ece66
42 changed files with 1324 additions and 723 deletions

View File

@@ -47,6 +47,7 @@ typedef enum {
LZ4MT_error_frame_decompress,
LZ4MT_error_compressionParameter_unsupported,
LZ4MT_error_compression_library,
LZ4MT_error_canceled,
LZ4MT_error_maxCode
} LZ4MT_ErrorCode;
@@ -107,7 +108,7 @@ LZ4MT_CCtx *LZ4MT_createCCtx(int threads, int level, int inputsize);
* 2) threaded compression
* - errorcheck via
*/
size_t LZ4MT_CompressCCtx(LZ4MT_CCtx * ctx, LZ4MT_RdWr_t * rdwr);
size_t LZ4MT_compressCCtx(LZ4MT_CCtx * ctx, LZ4MT_RdWr_t * rdwr);
/**
* 3) get some statistic
@@ -141,7 +142,7 @@ LZ4MT_DCtx *LZ4MT_createDCtx(int threads, int inputsize);
* 2) threaded compression
* - return -1 on error
*/
size_t LZ4MT_DecompressDCtx(LZ4MT_DCtx * ctx, LZ4MT_RdWr_t * rdwr);
size_t LZ4MT_decompressDCtx(LZ4MT_DCtx * ctx, LZ4MT_RdWr_t * rdwr);
/**
* 3) get some statistic