1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-06 02:05:36 +02:00

avfilter/vf_removelogo: Add () to protect the argument of apply_mask_fudge_factor()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-02-18 01:56:19 +01:00
parent d501b986a9
commit 8bc80016c1

View File

@ -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.