获取色调曲线时长度错误

This commit is contained in:
yangjiaxuan 2023-07-05 21:55:00 +08:00
parent 79c90b0c8d
commit c1fde67d0a
1 changed files with 1 additions and 1 deletions

View File

@ -3978,7 +3978,7 @@ int hg_scanner::device_io_control(unsigned long code, void* data, unsigned* len)
memcpy(v, custom_gamma_val_, sizeof(*custom_gamma_val_));
if (len)
*len = image_prc_param_.bits.color_mode;
*len = sizeof(*custom_gamma_val_);
return SCANNER_ERR_OK;
}