[cover] Add dictionary size to compressed size
This commit is contained in:
parent
9a54a315aa
commit
98de3f6847
@ -888,7 +888,7 @@ static void COVER_tryParameters(void *opaque) {
|
||||
goto _compressCleanup;
|
||||
}
|
||||
/* Compress each sample and sum their sizes (or error) */
|
||||
totalCompressedSize = 0;
|
||||
totalCompressedSize = dictBufferCapacity;
|
||||
for (i = 0; i < ctx->nbSamples; ++i) {
|
||||
const size_t size = ZSTD_compress_usingCDict(
|
||||
cctx, dst, dstCapacity, ctx->samples + ctx->offsets[i],
|
||||
|
Loading…
Reference in New Issue
Block a user