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

Don't bother checking for NULL functions

This can't happen, and it breaks the thread stuff.
parent 6d43fcaa
No related branches found
No related tags found
No related merge requests found
Pipeline #7459 passed
......@@ -28,16 +28,10 @@ bool load_jxl_funcs(void)
Jxl.ResizableParallelRunnerDestroy = JxlResizableParallelRunnerDestroy;
Jxl.ResizableParallelRunnerSetThreads = JxlResizableParallelRunnerSetThreads;
Jxl.ResizableParallelRunnerSuggestThreads = JxlResizableParallelRunnerSuggestThreads;
Jxl.status = JXL_STATUS_NOTHREADS;
#else
Jxl.status = JXL_STATUS_OK;
#endif
if (Jxl.DecoderSetParallelRunner == NULL ||
Jxl.ResizableParallelRunner == NULL ||
Jxl.ResizableParallelRunnerCreate == NULL ||
Jxl.ResizableParallelRunnerDestroy == NULL ||
Jxl.ResizableParallelRunnerSetThreads == NULL ||
Jxl.ResizableParallelRunnerSuggestThreads == NULL)
Jxl.status = JXL_STATUS_NOTHREADS;
else
Jxl.status = JXL_STATUS_OK;
return true;
}
......
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