mirror of https://git.tukaani.org/xz.git
liblzma: Clarify a comment.
This commit is contained in:
parent
5e04706b91
commit
e290a72d6d
|
@ -338,9 +338,12 @@ lzma_decode(void *coder_ptr, lzma_dict *restrict dictptr,
|
||||||
// Non-resumable Mode (fast) //
|
// Non-resumable Mode (fast) //
|
||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
|
|
||||||
// If there is not enough room for another LZMA symbol
|
// Go to Resumable mode (1) if there is not enough input to
|
||||||
// go to Resumable mode.
|
// safely decode any possible LZMA symbol or (2) if the
|
||||||
if (unlikely(!rc_is_fast_allowed() || dict.pos == dict.limit))
|
// dictionary is full, which may need special checks that
|
||||||
|
// are only done in the Resumable mode.
|
||||||
|
if (unlikely(!rc_is_fast_allowed()
|
||||||
|
|| dict.pos == dict.limit))
|
||||||
goto slow;
|
goto slow;
|
||||||
|
|
||||||
// Decode the first bit from the next LZMA symbol.
|
// Decode the first bit from the next LZMA symbol.
|
||||||
|
|
Loading…
Reference in New Issue