aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/lzma/lzma_encoder_private.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-06-19 16:35:08 +0300
committerLasse Collin <lasse.collin@tukaani.org>2008-06-19 16:35:08 +0300
commit0809c46534fa5664fe35d9e98d95e87312ed130e (patch)
tree6923ece40819c97cdd786dfdb01a7904043b1026 /src/liblzma/lzma/lzma_encoder_private.h
parentComments (diff)
downloadxz-0809c46534fa5664fe35d9e98d95e87312ed130e.tar.xz
Add limit of lc + lp <= 4. Now we can allocate the
literal coder as part of the main LZMA encoder or decoder structure. Make the LZMA decoder to rely on the current internal API to free the allocated memory in case an error occurs.
Diffstat (limited to 'src/liblzma/lzma/lzma_encoder_private.h')
-rw-r--r--src/liblzma/lzma/lzma_encoder_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/lzma/lzma_encoder_private.h b/src/liblzma/lzma/lzma_encoder_private.h
index 4159b468..a16051f8 100644
--- a/src/liblzma/lzma/lzma_encoder_private.h
+++ b/src/liblzma/lzma/lzma_encoder_private.h
@@ -95,7 +95,7 @@ struct lzma_coder_s {
bool write_eopm;
// Literal encoder
- lzma_literal_coder *literal_coder;
+ lzma_literal_coder literal_coder;
// Bit encoders
probability is_match[STATES][POS_STATES_MAX];