mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Fix Multi-Block Stream encoder's EOPM usage.
This commit is contained in:
parent
0ed6f1adce
commit
1747b85a43
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ block_header_encode(lzma_coder *coder, lzma_allocator *allocator,
|
||||||
coder->block_options = (lzma_options_block){
|
coder->block_options = (lzma_options_block){
|
||||||
.check = coder->stream_options->check,
|
.check = coder->stream_options->check,
|
||||||
.has_crc32 = coder->stream_options->has_crc32,
|
.has_crc32 = coder->stream_options->has_crc32,
|
||||||
.has_eopm = true,
|
.has_eopm = uncompressed_size == LZMA_VLI_VALUE_UNKNOWN,
|
||||||
.is_metadata = type != BLOCK_DATA,
|
.is_metadata = type != BLOCK_DATA,
|
||||||
.has_uncompressed_size_in_footer = false,
|
.has_uncompressed_size_in_footer = false,
|
||||||
.has_backward_size = type == BLOCK_FOOTER_METADATA,
|
.has_backward_size = type == BLOCK_FOOTER_METADATA,
|
||||||
|
|
Loading…
Reference in a new issue