diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2015-05-03 16:57:46 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2015-05-03 16:57:46 (GMT) |
commit | 1b17bf2ab8cf66dd2b740eca376e2d46f7ad7041 (patch) | |
tree | 1c33e13791840920044e903a7fcc4e62c1593ecc /programs/lz4io.c | |
parent | b495c916e5f8a8e650ccea8e86fb37f9422b44a8 (diff) | |
download | lz4-1b17bf2ab8cf66dd2b740eca376e2d46f7ad7041.zip lz4-1b17bf2ab8cf66dd2b740eca376e2d46f7ad7041.tar.gz lz4-1b17bf2ab8cf66dd2b740eca376e2d46f7ad7041.tar.bz2 |
New lz4 API, using LZ4_compress_fast()
Diffstat (limited to 'programs/lz4io.c')
-rw-r--r-- | programs/lz4io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/lz4io.c b/programs/lz4io.c index fb1f428..16fc879 100644 --- a/programs/lz4io.c +++ b/programs/lz4io.c @@ -325,7 +325,7 @@ static void LZ4IO_writeLE32 (void* p, unsigned value32) static int LZ4IO_LZ4_compress(const char* src, char* dst, int srcSize, int dstSize, int cLevel) { (void)cLevel; - return LZ4_compress_safe(src, dst, srcSize, dstSize); + return LZ4_compress_fast(src, dst, srcSize, dstSize, 1); } /* LZ4IO_compressFilename_Legacy : |