summaryrefslogtreecommitdiffstats
path: root/libavfilter/unsharp_opencl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/unsharp_opencl.c')
-rw-r--r--libavfilter/unsharp_opencl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/unsharp_opencl.c b/libavfilter/unsharp_opencl.c
index fff16ab..8ddd9db 100644
--- a/libavfilter/unsharp_opencl.c
+++ b/libavfilter/unsharp_opencl.c
@@ -29,7 +29,7 @@
#include "libavutil/opencl_internal.h"
#define PLANE_NUM 3
-#define ROUND_TO_16(a) ((((a- 1)/16)+1)*16)
+#define ROUND_TO_16(a) (((((a) - 1)/16)+1)*16)
static inline void add_mask_counter(uint32_t *dst, uint32_t *counter1, uint32_t *counter2, int len)
{
OpenPOWER on IntegriCloud