Correct KDU version check.
parent
aa8acc6deb
commit
b25a3e5448
|
|
@ -1121,7 +1121,7 @@ void set_default_colour_weights(kdu_params *siz)
|
|||
}
|
||||
|
||||
// <FS:Ansariel> Fix image encoding for KDU >= 8.0.4
|
||||
#if KDU_MAJOR_VERSION >= 8 && KDU_MINOR_VERSION >= 0 && KDU_PATCH_VERSION >= 4
|
||||
#if (KDU_MAJOR_VERSION*10000 + KDU_MINOR_VERSION*100 + KDU_PATCH_VERSION) >= 80004
|
||||
cod = siz->access_cluster(ENC_params);
|
||||
assert(cod != NULL);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue