aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/easy_preset.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2011-04-11 13:59:50 +0300
committerLasse Collin <lasse.collin@tukaani.org>2011-04-11 13:59:50 +0300
commitd1199274758049fc523d98c5b860ff814a799eec (patch)
treea94a713194803c300d18b848ddffb89fa463483b /src/liblzma/common/easy_preset.h
parentliblzma: Fix API docs to mention LZMA_UNSUPPORTED_CHECK. (diff)
downloadxz-d1199274758049fc523d98c5b860ff814a799eec.tar.xz
liblzma: Don't create an empty Block in lzma_stream_buffer_encode().
Empty Block was created if the input buffer was empty. Empty Block wastes a few bytes of space, but more importantly it triggers a bug in XZ Utils 5.0.1 and older when trying to decompress such a file. 5.0.1 and older consider such files to be corrupt. I thought that no encoder creates empty Blocks when releasing 5.0.2 but I was wrong.
Diffstat (limited to 'src/liblzma/common/easy_preset.h')
0 files changed, 0 insertions, 0 deletions