diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-15 07:40:21 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-15 07:40:21 +0200 |
commit | d13d693155c176fc9e9ad5c50d48ccba27c2d9c6 (patch) | |
tree | b688e0baaca289c39c329bae9fafb97f3b68682b /src/liblzma/common | |
parent | Remove RC_BUFFER_SIZE from lzma_encoder_private.h (diff) | |
download | xz-d13d693155c176fc9e9ad5c50d48ccba27c2d9c6.tar.xz |
Added precomputed range coder probability price table.
Diffstat (limited to 'src/liblzma/common')
-rw-r--r-- | src/liblzma/common/init_encoder.c | 5 |
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 |