File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -96,15 +96,15 @@ static u32 lzp_upcast(const u8 * ptr) {
96
96
/**
97
97
* @brief Check if the buffer size is sufficient for decoding a bz3 block
98
98
*
99
- * Data passed to the BWT+BCM step can be one of the following:
99
+ * Data passed to the last step can be one of the following:
100
100
* - original data
101
101
* - original data + LZP
102
102
* - original data + RLE
103
103
* - original data + RLE + LZP
104
104
*
105
105
* We must ensure `buffer_size` is large enough to store the data at every step
106
- * when walking backwards from undoing BWT+BCM . The required size may be stored in
107
- * either `lzp_size`, `rle_size` OR `orig_size`.
106
+ * when walking backwards. The required size may be stored in either `lzp_size`,
107
+ * `rle_size` OR `orig_size`.
108
108
*
109
109
* @param buffer_size Size of the output buffer
110
110
* @param lzp_size Size after LZP decompression (-1 if LZP not used)
@@ -1050,4 +1050,4 @@ BZIP3_API int bz3_orig_size_sufficient_for_decode(const u8 * block, size_t block
1050
1050
}
1051
1051
if (model & 4 ) rle_size = read_neutral_s32 (block + header_size );
1052
1052
return bz3_check_buffer_size ((size_t )orig_size , lzp_size , rle_size , orig_size );
1053
- }
1053
+ }
You can’t perform that action at this time.
0 commit comments