mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
ocl: fix FFT initialization
This commit is contained in:
@@ -126,7 +126,8 @@ void cv::ocl::fft_setup()
|
||||
{
|
||||
return;
|
||||
}
|
||||
pCache.setupData = new clAmdFftSetupData;
|
||||
if (pCache.setupData == NULL)
|
||||
pCache.setupData = new clAmdFftSetupData;
|
||||
openCLSafeCall(clAmdFftInitSetupData( pCache.setupData ));
|
||||
pCache.started = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user