mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
It was created wih a custom xz binary (built from the source at https://github.com/tukaani-project/xz), with this command: xz --compress --keep --stdout enwik5 > enwik5.lzma2-chunk-max-1-13.xz after applying this patch to xz's src/liblzma/lzma/lzma2_encoder.h: -#define LZMA2_CHUNK_MAX (UINT32_C(1) << 16) +#define LZMA2_CHUNK_MAX (UINT32_C(1) << 13) The resultant enwik5.lzma2-chunk-max-1-13.xz file has multiple LZMA2 chunks, unlike the existing enwik5.xz (created with the normal chunk limit). Wuffs' std/xz currently does not decode this new file properly.