Commit 9d88be68 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e0be5c4f
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment