Skip to content
Snippets Groups Projects
Commit cb385de5 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Don't fail JPEG XL due to missing JxlDecoderSetParallelRunner()

That just means we can't do parallel, not that we can't do JPEG XL
parent de964690
No related branches found
No related tags found
No related merge requests found
Pipeline #7838 passed
......@@ -91,12 +91,6 @@ bool load_jxl_funcs(void)
xp_dlclose(jxl_dll);
return false;
}
#ifdef WITH_JPEG_XL_THREADS
if ((Jxl.DecoderSetParallelRunner = xp_dlsym(jxl_dll, JxlDecoderSetParallelRunner)) == NULL) {
xp_dlclose(jxl_dll);
return false;
}
#endif
if ((Jxl.DecoderSetPreferredColorProfile = xp_dlsym(jxl_dll, JxlDecoderSetPreferredColorProfile)) == NULL) {
xp_dlclose(jxl_dll);
return false;
......@@ -107,6 +101,11 @@ bool load_jxl_funcs(void)
}
Jxl.status = JXL_STATUS_NOTHREADS;
#ifdef WITH_JPEG_XL_THREADS
if ((Jxl.DecoderSetParallelRunner = xp_dlsym(jxl_dll, JxlDecoderSetParallelRunner)) == NULL) {
return true;
}
#endif
#ifdef WITH_JPEG_XL_THREADS
const char *tlibnames[] = {"jxl_threads", NULL};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment