Commit b7a8f150 authored by cehoyos's avatar cehoyos

Fix blend_subrect for subrects positioned on odd rows.

Patch by Björn Axelsson gecko A acc D umu D se 


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17013 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 51f0b4b5
......@@ -495,6 +495,8 @@ static void blend_subrect(AVPicture *dst, const AVSubtitleRect *rect, int imgw,
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);
......
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