From 31f77b46b2fae919e1977b0dcee38d9c4e23cf18 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 22 Jun 2014 20:48:43 +0200 Subject: avfilter/unsharp_opencl: fix macro () Signed-off-by: Michael Niedermayer --- libavfilter/unsharp_opencl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/unsharp_opencl.c') diff --git a/libavfilter/unsharp_opencl.c b/libavfilter/unsharp_opencl.c index fff16ab520..8ddd9db933 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) { -- cgit v1.2.3