JPEG-2000 static delegate not references with openjp2
Posted: 2014-03-05T11:36:17-07:00
With openjp2 replacing jasper, the constant for JPEG-2000 was changed from MAGICKCORE_JP2_DELEGATE to MAGICKCORE_LIBOPENJP2_DELEGATE
magick/static.c lines 236-238 are:
This change fixes the issue:
This issue was identified earlier in viewtopic.php?f=2&t=24983
magick/static.c lines 236-238 are:
Code: Select all
#if defined(MAGICKCORE_JP2_DELEGATE)
(void) RegisterJP2Image();
#endif
Code: Select all
#if defined(MAGICKCORE_JP2_DELEGATE)
(void) RegisterJP2Image();
#elif defined(MAGICKCORE_LIBOPENJP2_DELEGATE)
(void) RegisterJP2Image();
#endif