From 7a4b8817fe34c1adbf79eaa1593cbfb7def94367 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 23 Jun 2015 04:19:05 +0200 Subject: avcodec/texturedsp: Add protective () to RGBA() macro Signed-off-by: Michael Niedermayer --- libavcodec/texturedsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/texturedsp.c') diff --git a/libavcodec/texturedsp.c b/libavcodec/texturedsp.c index 78eb6fa0ce..7a706b4463 100644 --- a/libavcodec/texturedsp.c +++ b/libavcodec/texturedsp.c @@ -31,7 +31,7 @@ #include "texturedsp.h" -#define RGBA(r, g, b, a) (r) | ((g) << 8) | ((b) << 16) | ((a) << 24) +#define RGBA(r, g, b, a) ((r) | ((g) << 8) | ((b) << 16) | ((a) << 24)) static av_always_inline void extract_color(uint32_t colors[4], uint16_t color0, -- cgit v1.2.3