summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-08-09 18:58:35 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-08-09 18:58:35 +0000
commit57cf99f2b7e388ff771dc72ae9aa7c476e6169b0 (patch)
tree05f8131248998d70c53c88ffce48ce2feb4366a0 /ffplay.c
parent0a8cd696076efc00ce26f8a43788d7d59d407b32 (diff)
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
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index ad81e3a093..5d0ff1c7bf 100644
--- a/ffplay.c
+++ b/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)\
{\
- 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;\