diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-22 21:16:22 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-22 21:16:22 +0200 |
commit | 1747b85a43abc1c3f152dbd349be2ef4089ecf6a (patch) | |
tree | fc63be469d014ed4b2e8b1b2bfe5b6182512cac5 /src/liblzma | |
parent | Made lzma_extra pointers const in lzma_options_stream. (diff) | |
download | xz-1747b85a43abc1c3f152dbd349be2ef4089ecf6a.tar.xz |
Fix Multi-Block Stream encoder's EOPM usage.
Diffstat (limited to 'src/liblzma')
-rw-r--r-- | src/liblzma/common/stream_encoder_multi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/stream_encoder_multi.c b/src/liblzma/common/stream_encoder_multi.c index 5a517ff4..f37b56a7 100644 --- a/src/liblzma/common/stream_encoder_multi.c +++ b/src/liblzma/common/stream_encoder_multi.c @@ -79,7 +79,7 @@ block_header_encode(lzma_coder *coder, lzma_allocator *allocator, coder->block_options = (lzma_options_block){ .check = coder->stream_options->check, .has_crc32 = coder->stream_options->has_crc32, - .has_eopm = true, + .has_eopm = uncompressed_size == LZMA_VLI_VALUE_UNKNOWN, .is_metadata = type != BLOCK_DATA, .has_uncompressed_size_in_footer = false, .has_backward_size = type == BLOCK_FOOTER_METADATA, |