diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-14 11:56:41 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-14 11:56:41 +0200 |
commit | a670fec8021e5962429689c194148a04c3418872 (patch) | |
tree | 0e737a409422785963e97aac1a0792cf78d3d8bc /src/liblzma/common/stream_encoder_single.c | |
parent | More fixes to LZMA decoder's flush marker handling. (diff) | |
download | xz-a670fec8021e5962429689c194148a04c3418872.tar.xz |
Small LZMA_SYNC_FLUSH fixes to Block and Single-Stream encoders.
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/common/stream_encoder_single.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblzma/common/stream_encoder_single.c b/src/liblzma/common/stream_encoder_single.c index cd835dcb..d93e7169 100644 --- a/src/liblzma/common/stream_encoder_single.c +++ b/src/liblzma/common/stream_encoder_single.c @@ -212,6 +212,7 @@ lzma_stream_encoder_single( lzma_next_strm_init(strm, stream_encoder_init, options); strm->internal->supported_actions[LZMA_RUN] = true; + strm->internal->supported_actions[LZMA_SYNC_FLUSH] = true; strm->internal->supported_actions[LZMA_FINISH] = true; return LZMA_OK; |