1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00
xz-archive/src/liblzma/delta
Lasse Collin 418d64a32e Fix a design error in liblzma API.
Originally the idea was that using LZMA_FULL_FLUSH
with Stream encoder would read the filter chain
from the same array that was used to intialize the
Stream encoder. Since most apps wouldn't use
LZMA_FULL_FLUSH, most apps wouldn't need to keep
the filter chain available after initializing the
Stream encoder. However, due to my mistake, it
actually required keeping the array always available.

Since setting the new filter chain via the array
used at initialization time is not a nice way to do
it for a couple of reasons, this commit ditches it
and introduces lzma_filters_update(). This new function
replaces also the "persistent" flag used by LZMA2
(and to-be-designed Subblock filter), which was also
an ugly thing to do.

Thanks to Alexey Tourbin for reminding me about the problem
that Stream encoder used to require keeping the filter
chain allocated.
2009-11-14 18:59:19 +02:00
..
delta_common.c Fix a design error in liblzma API. 2009-11-14 18:59:19 +02:00
delta_common.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
delta_decoder.c Fix a design error in liblzma API. 2009-11-14 18:59:19 +02:00
delta_decoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
delta_encoder.c Fix a design error in liblzma API. 2009-11-14 18:59:19 +02:00
delta_encoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
delta_private.h Fix a design error in liblzma API. 2009-11-14 18:59:19 +02:00
Makefile.inc Build system fixes 2009-06-30 17:09:57 +03:00