zstd/lib/compress
Nick Terrell 7736549bea [bug-fix] Make simple single-pass functions ignore advanced parameters
The simple compression functions are intended to ignore the advanced
parameters, but they were accidentally using them. All the
`ZSTD_parameters` were set correctly, but any extra parameters were
used as-is. E.g. `ZSTD_c_format`.

This PR makes all the simple single-pass functions listed below ignore
the advanced parameters, as intended.

* `ZSTD_compressCCtx()`
* `ZSTD_compress_usingDict()`
* `ZSTD_compress_usingCDict()`
* `ZSTD_compress_advanced()`
* `ZSTD_compress_usingCDict_advanced()`

It also adds a test case that ensures that each of these functions
ignore the advanced parameters.
2021-02-12 19:11:23 -08:00
..
2021-01-04 17:53:52 -05:00
2021-01-04 17:53:52 -05:00
2021-01-04 17:53:52 -05:00
2021-01-04 17:53:52 -05:00
2021-01-04 17:53:52 -05:00
2021-01-04 17:53:52 -05:00
2021-01-04 17:53:52 -05:00
2021-02-03 22:24:07 +01:00
2021-01-04 17:53:52 -05:00
2021-01-04 17:53:52 -05:00