Openjpeg 2.5.2 fixes the problem with 2.5.1

This commit is contained in:
shahramn 2024-03-04 11:03:26 +00:00
parent 039f47b7dd
commit f7ba64e130
1 changed files with 3 additions and 1 deletions

View File

@ -13,8 +13,10 @@
#if HAVE_LIBOPENJPEG
#include "openjpeg.h"
// The older versions did not have the opj_config.h file
// So we use a more recent macro to detect whether it is there
// So we use a more recent macro to detect whether it is there.
// Also see https://github.com/uclouvain/openjpeg/issues/1514
#if defined(OPJ_IMG_INFO)
#include "opj_config.h"
#endif