liblzma: Add support for LZMA_SYNC_FLUSH in the Block encoder.
commitb0f8d9293ca5a0a56964695a59a098c9d1e82b99
authorJia Tan <jiat0218@gmail.com>
Thu, 5 May 2022 12:53:42 +0000 (5 20:53 +0800)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 24 Nov 2022 08:58:04 +0000 (24 10:58 +0200)
tree3c5cb37f6e28755fd55382b937a0c06a329f6698
parent6997e0b5e2339025646cfaec13a3317fb340729b
liblzma: Add support for LZMA_SYNC_FLUSH in the Block encoder.

The documentation mentions that lzma_block_encoder() supports
LZMA_SYNC_FLUSH but it was never added to supported_actions[]
in the internal structure. Because of this, LZMA_SYNC_FLUSH could
not be used with the Block encoder unless it was the next coder
after something like stream_encoder() or stream_encoder_mt().
src/liblzma/common/block_encoder.c