X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Flzx_compress.c;h=6d9f1ce53dc174e024de0ec6841dae3725dfc932;hp=f0c3c5268c82c5e26347b9c42e5c008e811886c8;hb=refs%2Fheads%2Flzma_hash;hpb=3e8d0446e6ced2c59104370a03bd270bf7b8d5c9 diff --git a/src/lzx_compress.c b/src/lzx_compress.c index f0c3c526..6d9f1ce5 100644 --- a/src/lzx_compress.c +++ b/src/lzx_compress.c @@ -2890,6 +2890,8 @@ lzx_create_compressor(size_t max_bufsize, unsigned compression_level, /* Prepare the offset => offset slot mapping. */ lzx_init_offset_slot_tabs(c); + crc_init(); + *c_ret = c; return 0;