* format and therefore requires (@p chunk_size <= 32768).
*/
extern unsigned
-wimlib_lzx_compress(const void *chunk, unsigned chunk_size, void *out);
+wimlib_lzx_compress(const void *chunk, unsigned chunk_size, void *out)
+ _wimlib_deprecated;
/**
* @ingroup G_compression
if (params == NULL) {
LZX_DEBUG("Using default algorithm and parameters.");
- params = &slow_default;
+ params = &fast_default;
}
if (params->algorithm != WIMLIB_LZX_ALGORITHM_SLOW &&
void * const restrict compressed_data)
{
int ret;
- struct wimlib_lzx_context *ctx;
+ struct wimlib_lzx_context *ctx = NULL;
unsigned compressed_len;
ret = wimlib_lzx_alloc_context(NULL, &ctx);