zstd/lib/compress
Yann Collet 428e8b3bf4 fix : ZSTD_compress_generic(,,,ZSTD_e_end) automatically sets pledgedSrcSize
as per documentation, on ZSTD_setPledgedSrcSize() :
> If all data is provided and consumed in a single round,
> this value (pledgedSrcSize) is overriden by srcSize instead.

This wasn't applied before compression level is transformed into compression parameters.
As a consequence, small input missed compression parameters adaptation.

It seems to work fine now : compression was compared with ZSTD_compress_advanced(),
results were the same.
2017-11-01 13:15:23 -07:00
..
fse_compress.c [zstd] Backport kernel patch from @ColinIanKing 2017-09-25 16:18:23 -07:00
huf_compress.c Ensure dictionary Huff table can encode any symbol 2017-10-03 13:22:13 -07:00
zstd_compress.c fix : ZSTD_compress_generic(,,,ZSTD_e_end) automatically sets pledgedSrcSize 2017-11-01 13:15:23 -07:00
zstd_compress.h minor code formatting 2017-10-13 02:36:16 -07:00
zstd_double_fast.c Merge branch 'dev' of https://github.com/facebook/zstd into ldm-mergeDev 2017-09-11 15:00:01 -07:00
zstd_double_fast.h Merge branch 'dev' of https://github.com/facebook/zstd into ldm-mergeDev 2017-09-11 15:00:01 -07:00
zstd_fast.c Merge branch 'dev' of https://github.com/facebook/zstd into ldm-mergeDev 2017-09-11 15:00:01 -07:00
zstd_fast.h Merge branch 'dev' of https://github.com/facebook/zstd into ldm-mergeDev 2017-09-11 15:00:01 -07:00
zstd_lazy.c minor : added assert in bt 2017-09-16 23:41:58 -07:00
zstd_lazy.h Merge branch 'dev' of https://github.com/facebook/zstd into ldm-mergeDev 2017-09-11 15:00:01 -07:00
zstd_ldm.c Increase maximum window size 2017-09-26 14:00:01 -07:00
zstd_ldm.h Increase maximum window size 2017-09-26 14:00:01 -07:00
zstd_opt.c [libzstd][opt] Simplify repcode logic 2017-09-27 15:30:12 -07:00
zstd_opt.h Merge branch 'dev' of https://github.com/facebook/zstd into ldm-mergeDev 2017-09-11 15:00:01 -07:00
zstdmt_compress.c fixed : Visual build compressing stdin with multi-threading enabled fails 2017-10-17 14:07:43 -07:00
zstdmt_compress.h fixed : Visual build compressing stdin with multi-threading enabled fails 2017-10-17 14:07:43 -07:00