avcodec/texturedsp: Add protective () to RGBA() macro

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-06-23 04:19:05 +02:00
parent b64e70436e
commit 7a4b8817fe
1 changed files with 1 additions and 1 deletions

View File

@ -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,