ffmpeg | branch: master | Michael Niedermayer <[email protected]> | 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 <[email protected]> > 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. _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
