Correct KDU version check.

master
Nicky 2021-03-28 14:09:39 +02:00
parent aa8acc6deb
commit b25a3e5448
1 changed files with 1 additions and 1 deletions

View File

@ -1121,7 +1121,7 @@ void set_default_colour_weights(kdu_params *siz)
} }
// <FS:Ansariel> Fix image encoding for KDU >= 8.0.4 // <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); cod = siz->access_cluster(ENC_params);
assert(cod != NULL); assert(cod != NULL);
#endif #endif