diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-12-09 17:41:49 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-12-09 17:41:49 +0200 |
commit | 6efa2d80d46a38861016f41f0eb6fa2ec9260fe6 (patch) | |
tree | 273fe3b80c262d99c024b5de74b9b45783358319 /src/liblzma/lzma/lzma_encoder.h | |
parent | Updated THANKS. (diff) | |
download | xz-6efa2d80d46a38861016f41f0eb6fa2ec9260fe6.tar.xz |
Make the memusage functions of LZMA1 and LZMA2 encoders
to validate the filter options. Add missing validation
to LZMA2 encoder when options are changed in the middle
of encoding.
Diffstat (limited to 'src/liblzma/lzma/lzma_encoder.h')
-rw-r--r-- | src/liblzma/lzma/lzma_encoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/lzma/lzma_encoder.h b/src/liblzma/lzma/lzma_encoder.h index e270cc27..c9f7d005 100644 --- a/src/liblzma/lzma/lzma_encoder.h +++ b/src/liblzma/lzma/lzma_encoder.h @@ -55,7 +55,7 @@ extern lzma_ret lzma_lzma_encoder_create( /// Resets an already initialized LZMA encoder; this is used by LZMA2. -extern void lzma_lzma_encoder_reset( +extern lzma_ret lzma_lzma_encoder_reset( lzma_coder *coder, const lzma_options_lzma *options); |