]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 10 Sep 2010 01:45:44 +0000 (01:45 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 10 Sep 2010 01:45:44 +0000 (01:45 +0000)
magick/fourier.c

index 887b80a0087a827e3af302623776d381e1d0100b..c633e7452e628db66d8d406883244f6ec2fb8d64 100644 (file)
@@ -1054,10 +1054,12 @@ static MagickBooleanType InverseFourierTransform(FourierInfo *fourier_info,
 #if defined(MAGICKCORE_OPENMP_SUPPORT)
   #pragma omp critical (MagickCore_InverseFourierTransform)
 #endif
-  fftw_c2r_plan=fftw_plan_dft_c2r_2d(fourier_info->width,fourier_info->height,
-    fourier,source,FFTW_ESTIMATE);
-  fftw_execute(fftw_c2r_plan);
-  fftw_destroy_plan(fftw_c2r_plan);
+  {
+    fftw_c2r_plan=fftw_plan_dft_c2r_2d(fourier_info->width,fourier_info->height,
+      fourier,source,FFTW_ESTIMATE);
+    fftw_execute(fftw_c2r_plan);
+    fftw_destroy_plan(fftw_c2r_plan);
+  }
   i=0L;
   image_view=AcquireCacheView(image);
   for (y=0L; y < (ssize_t) fourier_info->height; y++)