]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/texturedsp.c
libavcodec/qsvenc.c: fix incorrect loop condition.
[ffmpeg] / libavcodec / texturedsp.c
index 78eb6fa0ce9c7c8c636ac9b76e3822cabe8d4212..7a706b44634483815140b4bfe3f2da601818eb1f 100644 (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,