mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
100l in YUVA_IN macro: missing () caused horrible artefacts in blend_subrect
when subrect y was odd. Originally committed as revision 10027 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0a8cd69607
commit
57cf99f2b7
2
ffplay.c
2
ffplay.c
@ -407,7 +407,7 @@ void fill_border(VideoState *s, int x, int y, int w, int h, int color)
|
|||||||
|
|
||||||
#define YUVA_IN(y, u, v, a, s, pal)\
|
#define YUVA_IN(y, u, v, a, s, pal)\
|
||||||
{\
|
{\
|
||||||
unsigned int val = ((const uint32_t *)(pal))[*(const uint8_t*)s];\
|
unsigned int val = ((const uint32_t *)(pal))[*(const uint8_t*)(s)];\
|
||||||
a = (val >> 24) & 0xff;\
|
a = (val >> 24) & 0xff;\
|
||||||
y = (val >> 16) & 0xff;\
|
y = (val >> 16) & 0xff;\
|
||||||
u = (val >> 8) & 0xff;\
|
u = (val >> 8) & 0xff;\
|
||||||
|
Loading…
Reference in New Issue
Block a user