diff options
author | Yann Collet <cyan@fb.com> | 2018-03-19 23:18:25 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2018-03-19 23:18:25 (GMT) |
commit | 5b67c7d1851e3530b1a45628b82fb1e06640e410 (patch) | |
tree | d4d414dfe42c8eeaf385ee18180b48921d720b9e /programs | |
parent | d6711a7cffe3b9f7104ea48c193be7d7fc9e4d69 (diff) | |
parent | 59cf6d400411b8373c0f52bffa180fe8fecff8e6 (diff) | |
download | lz4-5b67c7d1851e3530b1a45628b82fb1e06640e410.zip lz4-5b67c7d1851e3530b1a45628b82fb1e06640e410.tar.gz lz4-5b67c7d1851e3530b1a45628b82fb1e06640e410.tar.bz2 |
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev
Diffstat (limited to 'programs')
-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 c712fe1..ca13316 100644 --- a/programs/lz4io.c +++ b/programs/lz4io.c @@ -560,7 +560,7 @@ static int LZ4IO_compressFilename_extRess(cRess_t ress, const char* srcFileName, /* single-block file */ if (readSize < blockSize) { /* Compress in single pass */ - size_t cSize = LZ4F_compressFrame_usingCDict(dstBuffer, dstBufferSize, srcBuffer, readSize, ress.cdict, &prefs); + size_t cSize = LZ4F_compressFrame_usingCDict(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, ress.cdict, &prefs); if (LZ4F_isError(cSize)) EXM_THROW(31, "Compression failed : %s", LZ4F_getErrorName(cSize)); compressedfilesize = cSize; DISPLAYUPDATE(2, "\rRead : %u MB ==> %.2f%% ", |