Commit 503153a9 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit 'fdd5c48e'

* commit 'fdd5c48e':
  texturedsp: Explicitly cast RGBA parameters to unsigned
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents c7545916 fdd5c48e
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment