mirror of https://git.tukaani.org/xz.git
xz: Edit coding style
This commit is contained in:
parent
49f67d3d3f
commit
b54aa023e0
|
@ -689,8 +689,8 @@ coder_set_compression_settings(void)
|
||||||
r->lzma_idx = j;
|
r->lzma_idx = j;
|
||||||
r->reduce_dict_size = true;
|
r->reduce_dict_size = true;
|
||||||
|
|
||||||
lzma_options_lzma *opt = r->filters
|
lzma_options_lzma *opt
|
||||||
[r->lzma_idx].options;
|
= r->filters[r->lzma_idx].options;
|
||||||
r->orig_dict_size = opt->dict_size;
|
r->orig_dict_size = opt->dict_size;
|
||||||
opt->dict_size &= ~((UINT32_C(1) << 20) - 1);
|
opt->dict_size &= ~((UINT32_C(1) << 20) - 1);
|
||||||
}
|
}
|
||||||
|
@ -1114,8 +1114,8 @@ split_block(uint64_t *block_remaining,
|
||||||
// Update the filters if needed.
|
// Update the filters if needed.
|
||||||
if (opt_block_list[*list_pos - 1].chain_num
|
if (opt_block_list[*list_pos - 1].chain_num
|
||||||
!= opt_block_list[*list_pos].chain_num) {
|
!= opt_block_list[*list_pos].chain_num) {
|
||||||
const unsigned chain_idx = opt_block_list
|
const unsigned chain_idx
|
||||||
[*list_pos].chain_num;
|
= opt_block_list[*list_pos].chain_num;
|
||||||
const lzma_filter *next = chains[chain_idx];
|
const lzma_filter *next = chains[chain_idx];
|
||||||
const lzma_ret ret = lzma_filters_update(
|
const lzma_ret ret = lzma_filters_update(
|
||||||
&strm, next);
|
&strm, next);
|
||||||
|
|
Loading…
Reference in New Issue