aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/index_decoder.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-10-21 23:06:31 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-10-21 23:06:31 +0300
commitd09c5753e33ff96ee57edb6d1e98e34041203695 (patch)
treeac6f5031a9cc1da06045e68d9b7733c3af0b3344 /src/liblzma/common/index_decoder.c
parentUpdate INSTALL.generic. (diff)
downloadxz-d09c5753e33ff96ee57edb6d1e98e34041203695.tar.xz
liblzma: Update the comments in the API headers.
Adding support for LZMA_FINISH for Index encoding and decoding needed tiny additions to the relevant .c files too.
Diffstat (limited to 'src/liblzma/common/index_decoder.c')
-rw-r--r--src/liblzma/common/index_decoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblzma/common/index_decoder.c b/src/liblzma/common/index_decoder.c
index 86a22971..a6bc650e 100644
--- a/src/liblzma/common/index_decoder.c
+++ b/src/liblzma/common/index_decoder.c
@@ -291,6 +291,7 @@ lzma_index_decoder(lzma_stream *strm, lzma_index **i, uint64_t memlimit)
lzma_next_strm_init(index_decoder_init, strm, i, memlimit);
strm->internal->supported_actions[LZMA_RUN] = true;
+ strm->internal->supported_actions[LZMA_FINISH] = true;
return LZMA_OK;
}