avfilter/unsharp_opencl: fix macro ()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 22 Jun 2014 18:48:43 +0000 (20:48 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 22 Jun 2014 18:48:43 +0000 (20:48 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/unsharp_opencl.c

index fff16ab..8ddd9db 100644 (file)
@@ -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)
 {