[FFmpeg-cvslog] avfilter/unsharp_opencl: fix macro ()

Michael Niedermayer git at videolan.org
Sun Jun 22 21:16:45 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jun 22 20:48:43 2014 +0200| [31f77b46b2fae919e1977b0dcee38d9c4e23cf18] | committer: Michael Niedermayer

avfilter/unsharp_opencl: fix macro ()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=31f77b46b2fae919e1977b0dcee38d9c4e23cf18
---

 libavfilter/unsharp_opencl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
 {



More information about the ffmpeg-cvslog mailing list