diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-19 01:51:54 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-19 01:51:54 +0100 |
commit | 9d88be68733be940651d0ee16df257f73d43023d (patch) | |
tree | b836cc089a51ee3af6ec74ca8eb1c3265f02e20a | |
parent | e0be5c4fbedd3c27ef784807e0981b1085c656bd (diff) | |
download | ffmpeg-9d88be68733be940651d0ee16df257f73d43023d.tar.gz |
avfilter/vf_subtitles: Add () to protect the argument of the AA() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/vf_subtitles.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |