mirror of
https://github.com/simon987/fastimagehash.git
synced 2025-04-04 09:23:00 +00:00
bugfix: fftw thread safety
This commit is contained in:
parent
17106c1d4a
commit
d14bdbd0f3
@ -11,6 +11,11 @@
|
||||
|
||||
//TODO: Error handling
|
||||
|
||||
static void init() __attribute__((constructor));
|
||||
void init() {
|
||||
fftw_make_planner_thread_safe();
|
||||
}
|
||||
|
||||
using namespace cv;
|
||||
|
||||
#define FASTIMAGEHASH_OK 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user