aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/lzma/lzma_encoder.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-11-21liblzma: Avoid multiple definitions of lzma_coder structures.Lasse Collin1-3/+6
Only one definition was visible in a translation unit. It avoided a few casts and temp variables but seems that this hack doesn't work with link-time optimizations in compilers as it's not C99/C11 compliant. Fixes: http://www.mail-archive.com/xz-devel@tukaani.org/msg00279.html
2012-07-17liblzma: Make the use of lzma_allocator const-correct.Lasse Collin1-2/+3
There is a tiny risk of causing breakage: If an application assigns lzma_stream.allocator to a non-const pointer, such code won't compile anymore. I don't know why anyone would do such a thing though, so in practice this shouldn't cause trouble. Thanks to Jan Kratochvil for the patch.
2009-04-13Put the interesting parts of XZ Utils into the public domain.Lasse Collin1-12/+5
Some minor documentation cleanups were made at the same time.
2009-01-19Remove dead code.Lasse Collin1-8/+0
2008-12-09Make the memusage functions of LZMA1 and LZMA2 encodersLasse Collin1-1/+1
to validate the filter options. Add missing validation to LZMA2 encoder when options are changed in the middle of encoding.
2008-08-28Sort of garbage collection commit. :-| Many things are stillLasse Collin1-2/+36
broken. API has changed a lot and it will still change a little more here and there. The command line tool doesn't have all the required changes to reflect the API changes, so it's easy to get "internal error" or trigger assertions.
2007-12-09Imported to git.Lasse Collin1-0/+35