[gegl] box-blur: stop mixing code and declarations



commit a23c6b08252d31cd89895f4b1d7f6b80ef556acc
Author: Øyvind Kolås <pippin gimp org>
Date:   Wed Jul 11 23:38:36 2018 +0200

    box-blur: stop mixing code and declarations

 operations/common/box-blur.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/operations/common/box-blur.c b/operations/common/box-blur.c
index df088aaa4..02010c9b6 100644
--- a/operations/common/box-blur.c
+++ b/operations/common/box-blur.c
@@ -356,9 +356,10 @@ process (GeglOperation       *operation,
   GeglProperties *o = GEGL_PROPERTIES (operation);
   GeglBuffer *temp;
   GeglOperationAreaFilter *op_area;
-  op_area = GEGL_OPERATION_AREA_FILTER (operation);
   const Babl *out_format = gegl_operation_get_format (operation, "output");
 
+  op_area = GEGL_OPERATION_AREA_FILTER (operation);
+
   if (gegl_operation_use_opencl (operation))
     if (cl_process (operation, input, output, result))
       return TRUE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]