aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/lzma/lzma_decoder.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-10-19 11:44:37 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-10-19 11:44:37 +0300
commit0076e03641f201c4b77dddd5a6db5880be19a78c (patch)
tree68b623c6d85e3aa61a0bdca99c85b3cb28ae4901 /src/liblzma/lzma/lzma_decoder.c
parentUpdate docs. (diff)
downloadxz-0076e03641f201c4b77dddd5a6db5880be19a78c.tar.xz
Clean up a few FIXMEs and TODOs.
lzma_chunk_size() was commented out because it is currently useless.
Diffstat (limited to '')
-rw-r--r--src/liblzma/lzma/lzma_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/lzma/lzma_decoder.c b/src/liblzma/lzma/lzma_decoder.c
index 4329e019..9979bb42 100644
--- a/src/liblzma/lzma/lzma_decoder.c
+++ b/src/liblzma/lzma/lzma_decoder.c
@@ -656,7 +656,8 @@ lzma_decode(lzma_coder *restrict coder, lzma_dict *restrict dictptr,
}
case SEQ_EOPM:
- // TODO Comment
+ // LZMA1 stream with
+ // end-of-payload marker.
rc_normalize(SEQ_EOPM);
ret = LZMA_STREAM_END;
goto out;
@@ -856,7 +857,6 @@ lzma_decoder_reset(lzma_coder *coder, const void *opt)
// NOTE: We assume that lc/lp/pb are valid since they were
// successfully decoded with lzma_lzma_decode_properties().
- // FIXME?
// Calculate pos_mask. We don't need pos_bits as is for anything.
coder->pos_mask = (1U << options->pb) - 1;