summaryrefslogtreecommitdiff
path: root/libavcodec/texturedsp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-23 04:19:05 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-23 04:19:05 +0200
commit7a4b8817fe34c1adbf79eaa1593cbfb7def94367 (patch)
tree9707e0d7d939e09f1c9c8d8e75cba59bbce3c428 /libavcodec/texturedsp.c
parentb64e70436e9c6a5a738a12d14187859208d0abb9 (diff)
avcodec/texturedsp: Add protective () to RGBA() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/texturedsp.c')
-rw-r--r--libavcodec/texturedsp.c2
1 files changed, 1 insertions, 1 deletions
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,