]> icculus.org git repositories - icculus/xz.git/commit
Subblock decoder: Don't exit the main loop in decode_buffer()
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 17 Jan 2008 16:56:53 +0000 (18:56 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 17 Jan 2008 16:56:53 +0000 (18:56 +0200)
commit33be3c0e24d8f43376ccf71cc77d53671e792f07
treebfa4e4ce2a9046c9b53de19605ab34a3556d1f07
parentb254bd97b1cdb68d127523d91ca9e054ed89c4fd
Subblock decoder: Don't exit the main loop in decode_buffer()
too early if we hit End of Input while decoding a Subblock of
type Repeating Data. To keep the loop termination condition
elegant, the order of enumerations in coder->sequence were
changed.

To keep the case-labels in roughly the same order as the
enumerations in coder->sequence, large chunks of code was
moved around. This made the diff big and ugly compared to
the amount of the actual changes made.
src/liblzma/subblock/subblock_decoder.c