aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/lz/lz_encoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/lz/lz_encoder.c')
-rw-r--r--src/liblzma/lz/lz_encoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/lz/lz_encoder.c b/src/liblzma/lz/lz_encoder.c
index 22a37cd7..0b4a2931 100644
--- a/src/liblzma/lz/lz_encoder.c
+++ b/src/liblzma/lz/lz_encoder.c
@@ -20,6 +20,7 @@
#include "lz_encoder.h"
#include "lz_encoder_hash.h"
+#include "check.h"
struct lzma_coder_s {
@@ -488,8 +489,7 @@ lzma_lz_encoder_init(lzma_next_coder *next, lzma_allocator *allocator,
{
#ifdef HAVE_SMALL
// We need that the CRC32 table has been initialized.
- // This is enough to do it.
- lzma_crc32(NULL, 0, 0);
+ lzma_crc32_init();
#endif
// Allocate and initialize the base data structure.