[FFmpeg-cvslog] r17013 - trunk/ffplay.c
cehoyos
subversion
Fri Feb 6 00:07:24 CET 2009
Author: cehoyos
Date: Fri Feb 6 00:07:24 2009
New Revision: 17013
Log:
Fix blend_subrect for subrects positioned on odd rows.
Patch by Bj?rn Axelsson gecko A acc D umu D se
Modified:
trunk/ffplay.c
Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c Thu Feb 5 23:34:55 2009 (r17012)
+++ trunk/ffplay.c Fri Feb 6 00:07:24 2009 (r17013)
@@ -495,6 +495,8 @@ static void blend_subrect(AVPicture *dst
lum[0] = ALPHA_BLEND(a, lum[0], y, 0);
cb[0] = ALPHA_BLEND(a >> 2, cb[0], u, 0);
cr[0] = ALPHA_BLEND(a >> 2, cr[0], v, 0);
+ p++;
+ lum++;
}
p += wrap3 + (wrap3 - dstw * BPP);
lum += wrap + (wrap - dstw - dstx);
More information about the ffmpeg-cvslog
mailing list