summaryrefslogtreecommitdiff
path: root/libavfilter/vf_removelogo.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-18 01:56:19 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-18 01:56:19 +0100
commit8bc80016c18d3b6e5b67f08e0dc8f0c6ae8ab233 (patch)
tree0f79f704859bf5f5c99072a0ecc0cf43832d1c34 /libavfilter/vf_removelogo.c
parentd501b986a97634ddcc53a4cb62e69e01042e9366 (diff)
downloadffmpeg-8bc80016c18d3b6e5b67f08e0dc8f0c6ae8ab233.tar.gz
avfilter/vf_removelogo: Add () to protect the argument of apply_mask_fudge_factor()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_removelogo.c')
-rw-r--r--libavfilter/vf_removelogo.c2
1 files changed, 1 insertions, 1 deletions
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.