diff options
author | Xin LI <delphij@FreeBSD.org> | 2020-03-21 19:13:22 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2020-03-21 19:13:22 +0000 |
commit | b89a9714932b4fb6d8aec10dc79b7ecf9a9ce536 (patch) | |
tree | 02eb67059a2125bda85edbc6e386d53bea49d67e /src/liblzma/common/stream_encoder_mt.c | |
parent | 9657691eff9c78f404f3f9d5907240d267893826 (diff) |
Notes
Diffstat (limited to 'src/liblzma/common/stream_encoder_mt.c')
-rw-r--r-- | src/liblzma/common/stream_encoder_mt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/common/stream_encoder_mt.c b/src/liblzma/common/stream_encoder_mt.c index 2efe44c2534f..01e40339750a 100644 --- a/src/liblzma/common/stream_encoder_mt.c +++ b/src/liblzma/common/stream_encoder_mt.c @@ -700,7 +700,7 @@ stream_encode_mt(void *coder_ptr, const lzma_allocator *allocator, ret = coder->thread_error; if (ret != LZMA_OK) { assert(ret != LZMA_STREAM_END); - break; + break; // Break out of mythread_sync. } // Try to read compressed data to out[]. @@ -958,7 +958,7 @@ stream_encoder_mt_init(lzma_next_coder *next, const lzma_allocator *allocator, // Validate the filter chain so that we can give an error in this // function instead of delaying it to the first call to lzma_code(). // The memory usage calculation verifies the filter chain as - // a side effect so we take advatange of that. + // a side effect so we take advantage of that. if (lzma_raw_encoder_memusage(filters) == UINT64_MAX) return LZMA_OPTIONS_ERROR; |