You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
Merge commit 'fdd5c48ebdec489ec9e84eee547fefa50c3ad53c'
* commit 'fdd5c48ebdec489ec9e84eee547fefa50c3ad53c': texturedsp: Explicitly cast RGBA parameters to unsigned Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
@@ -31,7 +31,10 @@
|
||||
|
||||
#include "texturedsp.h"
|
||||
|
||||
#define RGBA(r, g, b, a) ((r) | ((g) << 8) | ((b) << 16) | ((a) << 24))
|
||||
#define RGBA(r, g, b, a) (((uint8_t)(r) << 0) | \
|
||||
((uint8_t)(g) << 8) | \
|
||||
((uint8_t)(b) << 16) | \
|
||||
((uint8_t)(a) << 24))
|
||||
|
||||
static av_always_inline void extract_color(uint32_t colors[4],
|
||||
uint16_t color0,
|
||||
|
Reference in New Issue
Block a user