Commit b49aabec authored by reimar's avatar reimar

100l in YUVA_IN macro: missing () caused horrible artefacts in blend_subrect

when subrect y was odd.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10027 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5d9c7de9
......@@ -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)\
{\
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;\
y = (val >> 16) & 0xff;\
u = (val >> 8) & 0xff;\
......
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