]> icculus.org git repositories - icculus/xz.git/commit
Remove uncompressed size tracking from the filter encoders.
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 11 Dec 2007 14:49:19 +0000 (16:49 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 11 Dec 2007 14:49:19 +0000 (16:49 +0200)
commit3e16d51dd645667b05ff826665b1fc353aa41cd9
tree2ce26b05eacbec07557f3e4cbe0982dea05ec675
parent5286723e0d1ac386d5b07f08d78e61becf895a5a
Remove uncompressed size tracking from the filter encoders.
It's not strictly needed there, and just complicates the
code. LZ encoder never even had this feature.

The primary reason to have uncompressed size tracking in
filter encoders was validating that the application
doesn't give different amount of input that it had
promised. A side effect was to validate internal workings
of liblzma.

Uncompressed size tracking is still present in the Block
encoder. Maybe it should be added to LZMA_Alone and raw
encoders too. It's simpler to have one coder just to
validate the uncompressed size instead of having it
in every filter.
src/liblzma/common/copy_coder.c
src/liblzma/simple/simple_coder.c
src/liblzma/subblock/subblock_encoder.c