mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Comments
This commit is contained in:
parent
2ba01bfa75
commit
9cfcd0c4f2
1 changed files with 5 additions and 1 deletions
|
@ -62,7 +62,11 @@ struct lzma_coder_s {
|
||||||
static lzma_ret
|
static lzma_ret
|
||||||
block_encoder_init(lzma_coder *coder, lzma_allocator *allocator)
|
block_encoder_init(lzma_coder *coder, lzma_allocator *allocator)
|
||||||
{
|
{
|
||||||
// Prepare the Block options.
|
// Prepare the Block options. Even though Block encoder doesn't need
|
||||||
|
// compressed_size, uncompressed_size, and header_size to be
|
||||||
|
// initialized, it is a good idea to do it here, because this way
|
||||||
|
// we catch if someone gave us Filter ID that cannot be used in
|
||||||
|
// Blocks/Streams.
|
||||||
coder->block_options.compressed_size = LZMA_VLI_VALUE_UNKNOWN;
|
coder->block_options.compressed_size = LZMA_VLI_VALUE_UNKNOWN;
|
||||||
coder->block_options.uncompressed_size = LZMA_VLI_VALUE_UNKNOWN;
|
coder->block_options.uncompressed_size = LZMA_VLI_VALUE_UNKNOWN;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue