aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/microlzma_encoder.c (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2022-12-20liblzma: Fix lzma_microlzma_encoder() return value.Jia Tan1-1/+2
Using return_if_error on lzma_lzma_lclppb_encode was improper because return_if_error is expecting an lzma_ret value, but lzma_lzma_lclppb_encode returns a boolean. This could result in lzma_microlzma_encoder, which would be misleading for applications.
2022-11-27liblzma: Pass the Filter ID to LZ encoder and decoder.Lasse Collin1-0/+1
This allows using two Filter IDs with the same initialization function and data structures.
2021-09-05liblzma: Rename EROFS LZMA to MicroLZMA.Lasse Collin1-15/+15
It still exists primarily for EROFS but MicroLZMA is a more generic name (that hopefully doesn't clash with something that already exists).
2021-01-14liblzma: Add EROFS LZMA encoder and decoder.Lasse Collin1-0/+139
Right now this is just a planned extra-compact format for use in the EROFS file system in Linux. At this point it's possible that the format will either change or be abandoned and removed completely. The special thing about the encoder is that it uses the output-size-limited encoding added in the previous commit. EROFS uses fixed-sized blocks (e.g. 4 KiB) to hold compressed data so the compressors must be able to create valid streams that fill the given block size.