diff options
author | W. Felix Handte <w@felixhandte.com> | 2018-01-26 16:29:00 (GMT) |
---|---|---|
committer | W. Felix Handte <w@felixhandte.com> | 2018-03-12 18:58:43 (GMT) |
commit | 9dcd9abc14a33b6ac6c91dd727235db1daabe066 (patch) | |
tree | 47a7244a9af9ae81e2a0fcb2547eb50f1f4349e5 /programs | |
parent | 14ce912b705db03bd1d723456dd1a3242b7f7ea7 (diff) | |
download | lz4-9dcd9abc14a33b6ac6c91dd727235db1daabe066.zip lz4-9dcd9abc14a33b6ac6c91dd727235db1daabe066.tar.gz lz4-9dcd9abc14a33b6ac6c91dd727235db1daabe066.tar.bz2 |
Make LZ4F_compressFrame_usingCDict Take a Compression Context
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%% ", |