vcomp/cmpto_j2k: print opt hint in help

+ use unit_evaluate_dbl (instead of unit_evaluate) - **also** in decompress
This commit is contained in:
Martin Pulec
2024-09-12 16:01:35 +02:00
parent ff1d9f3e9f
commit 0a8467b01f
3 changed files with 6 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ unit_evaluate(const char *str, const char **endptr)
* Converts units in format <val>[.<val>][kMG] to floating point representation.
*
* @param str string to be parsed, suffix following SI suffix is ignored (as in 1ms or 100MB)
* @param case_sensitive should 'm' be considered as mega
* @param case_sensitive if true 'm' will be considered as milli, otherwise mega
* @param endptr if not NULL, point to suffix after parse
* @returns positive floating point representation of the string
* @returns NAN if error