获取色调曲线时长度错误
This commit is contained in:
parent
79c90b0c8d
commit
c1fde67d0a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue