[FFmpeg-cvslog] avfilter/vf_removelogo: Add () to protect the argument of apply_mask_fudge_factor()
Michael Niedermayer
git at videolan.org
Wed Feb 18 02:18:04 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Feb 18 01:56:19 2015 +0100| [8bc80016c18d3b6e5b67f08e0dc8f0c6ae8ab233] | committer: Michael Niedermayer
avfilter/vf_removelogo: Add () to protect the argument of apply_mask_fudge_factor()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8bc80016c18d3b6e5b67f08e0dc8f0c6ae8ab233
---
libavfilter/vf_removelogo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_removelogo.c b/libavfilter/vf_removelogo.c
index 555517f..dd7629f 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.
More information about the ffmpeg-cvslog
mailing list