[FFmpeg-cvslog] r10027 - trunk/ffplay.c

reimar subversion
Thu Aug 9 20:58:36 CEST 2007


Author: reimar
Date: Thu Aug  9 20:58:35 2007
New Revision: 10027

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

when subrect y was odd.


Modified:
   trunk/ffplay.c

Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	(original)
+++ trunk/ffplay.c	Thu Aug  9 20:58:35 2007
@@ -407,7 +407,7 @@ void fill_border(VideoState *s, int x, i
 
 #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;\




More information about the ffmpeg-cvslog mailing list