Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix lzma compression level #731 #732

Merged
merged 1 commit into from
Oct 19, 2023
Merged

Conversation

gix
Copy link
Contributor

@gix gix commented Sep 25, 2023

LZMA_PRESET_EXTREME is not a preset on its own but a flag which must be used together with a level. The difference between level 9 with and without the extreme flag also seems negligible, so this commit just passes through the level and maps -1 and invalid values to the default preset.

Closes #731

LZMA_PRESET_EXTREME is not a preset on its own but a flag which must be
used together with a level. The difference between level 9 with and without
the extreme flag also seems negligible, so this commit just passes through
the level and maps -1 and invalid values to the default preset.
@nmoinvaz nmoinvaz changed the base branch from master to develop September 25, 2023 16:40
@nmoinvaz nmoinvaz added the lzma XZ compression format label Oct 19, 2023
@nmoinvaz nmoinvaz merged commit 26c484d into zlib-ng:develop Oct 19, 2023
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lzma XZ compression format
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Worst LZMA compression on best compression level
2 participants