From 8bc80016c18d3b6e5b67f08e0dc8f0c6ae8ab233 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 18 Feb 2015 01:56:19 +0100 Subject: avfilter/vf_removelogo: Add () to protect the argument of apply_mask_fudge_factor() Signed-off-by: Michael Niedermayer --- libavfilter/vf_removelogo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter') diff --git a/libavfilter/vf_removelogo.c b/libavfilter/vf_removelogo.c index 555517f83d..dd7629f9c8 100644 --- a/libavfilter/vf_removelogo.c +++ b/libavfilter/vf_removelogo.c @@ -114,7 +114,7 @@ AVFILTER_DEFINE_CLASS(removelogo); * opinion. This will calculate only at init-time, so you can put a * long expression here without effecting performance. */ -#define apply_mask_fudge_factor(x) (((x) >> 2) + x) +#define apply_mask_fudge_factor(x) (((x) >> 2) + (x)) /** * Pre-process an image to give distance information. -- cgit v1.2.3