aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/init_encoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/common/init_encoder.c')
-rw-r--r--src/liblzma/common/init_encoder.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/liblzma/common/init_encoder.c b/src/liblzma/common/init_encoder.c
index 4d3da506..13873aad 100644
--- a/src/liblzma/common/init_encoder.c
+++ b/src/liblzma/common/init_encoder.c
@@ -33,9 +33,10 @@ lzma_init_encoder(void)
lzma_init_check();
#endif
-// FIXME TODO Create precalculated tables.
-#if defined(HAVE_ENCODER) && defined(HAVE_FILTER_LZMA)
+#if defined(HAVE_SMALL) && defined(HAVE_ENCODER) && defined(HAVE_FILTER_LZMA)
lzma_rc_init();
+#endif
+#if defined(HAVE_ENCODER) && defined(HAVE_FILTER_LZMA)
lzma_fastpos_init();
#endif