diff --git a/cmp_tool.c b/cmp_tool.c index 847100fc3e7e5955271d5d7891fd0ef4f7eb1118..b676c67746a2aeb8b6c64e882ced991e534c0028 100644 --- a/cmp_tool.c +++ b/cmp_tool.c @@ -225,6 +225,7 @@ int main(int argc, char **argv) /* fall through */ case RDCU_PKT_OPTION: rdcu_pkt_mode = 1; + add_rdcu_pars = 1; /* fall through */ case NO_HEADER: include_cmp_header = 0; diff --git a/lib/cmp_rdcu.c b/lib/cmp_rdcu.c index e50fee6420d4fab2ff434025d6a3b70ae41f8117..362cdfc47ad61b9cec898b28391ca0cd8b8f8431 100644 --- a/lib/cmp_rdcu.c +++ b/lib/cmp_rdcu.c @@ -527,7 +527,7 @@ int rdcu_compress_data_parallel(const struct cmp_cfg *cfg, if (cfg->icu_new_model_buf) { if (rdcu_read_sram(cfg->icu_new_model_buf, last_info->rdcu_new_model_adr_used, - new_model_size_4byte)) + new_model_size_4byte) < 0) return -1; } /* write model */ diff --git a/meson.build b/meson.build index 1548ca2b3a60e5a7129809e78bddef02c565c00e..01cc9c90de8281a6e95af9dc0e7deb2f3f218f12 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('cmp_tool', 'c', - version : '0.10-b.2', + version : '0.10-b.3', meson_version : '>= 0.56', license : 'GPL-2.0', default_options : ['warning_level=3', 'c_std=gnu99']