aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/subblock/subblock_decoder_helper.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/liblzma/subblock/subblock_decoder_helper.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/liblzma/subblock/subblock_decoder_helper.c b/src/liblzma/subblock/subblock_decoder_helper.c
index 77d1f4bd..e8063e1e 100644
--- a/src/liblzma/subblock/subblock_decoder_helper.c
+++ b/src/liblzma/subblock/subblock_decoder_helper.c
@@ -62,14 +62,11 @@ lzma_subblock_decoder_helper_init(lzma_next_coder *next,
// This is always the last filter in the chain.
assert(filters[1].init == NULL);
- // We never know uncompressed size.
- assert(filters[0].uncompressed_size == LZMA_VLI_VALUE_UNKNOWN);
-
if (next->coder == NULL) {
next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
if (next->coder == NULL)
return LZMA_MEM_ERROR;
-
+
next->code = &helper_decode;
next->end = &helper_end;
}