diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c index f7fc1a6707..90416b5076 100644 --- a/libavfilter/vf_subtitles.c +++ b/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)