[FFmpeg-cvslog] avcodec/texturedsp: Add protective () to RGBA() macro
Michael Niedermayer
git at videolan.org
Tue Jun 23 05:21:33 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jun 23 04:19:05 2015 +0200| [7a4b8817fe34c1adbf79eaa1593cbfb7def94367] | committer: Michael Niedermayer
avcodec/texturedsp: Add protective () to RGBA() macro
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7a4b8817fe34c1adbf79eaa1593cbfb7def94367
---
libavcodec/texturedsp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/texturedsp.c b/libavcodec/texturedsp.c
index 78eb6fa..7a706b4 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,
More information about the ffmpeg-cvslog
mailing list