]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_removelogo.c
avfilter/vf_removelogo: Add () to protect the argument of apply_mask_fudge_factor()
[ffmpeg] / libavfilter / vf_removelogo.c
index 555517f83d9221b793957b487ecdf2374ad004a2..dd7629f9c8b9739e64c72997ac9b78135c826425 100644 (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.