* ZSTD is lying: if we allocate the size of the workspace it says it
* requires, it returns memory allocation errors
*/
- c->zstd_workspace_size = zstd_cctx_workspace_bound(¶ms.cParams) * 2;
+ c->zstd_workspace_size = zstd_cctx_workspace_bound(¶ms.cParams);
struct {
unsigned feature;