avfilter/vf_subtitles: Add () to protect the argument of the AA() macro

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/113/head^2
Michael Niedermayer 10 years ago
parent e0be5c4fbe
commit 9d88be6873
  1. 2
      libavfilter/vf_subtitles.c

@ -153,7 +153,7 @@ static int config_input(AVFilterLink *inlink)
#define AR(c) ( (c)>>24)
#define AG(c) (((c)>>16)&0xFF)
#define AB(c) (((c)>>8) &0xFF)
#define AA(c) ((0xFF-c) &0xFF)
#define AA(c) ((0xFF-(c)) &0xFF)
static void overlay_ass_image(AssContext *ass, AVFrame *picref,
const ASS_Image *image)

Loading…
Cancel
Save