diff options
author | Björn Axelsson <gecko@acc.umu.se> | 2009-02-05 23:07:24 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-02-05 23:07:24 +0000 |
commit | 676ef505e620ac0313346343441f83067c0ed97d (patch) | |
tree | 2e17ff0f53584ae1a47fbf092636da6cdb9afb2d /ffplay.c | |
parent | 0a861b6f8b899a11b5dfe06bd029646d37a564ef (diff) | |
download | ffmpeg-676ef505e620ac0313346343441f83067c0ed97d.tar.gz |
Fix blend_subrect for subrects positioned on odd rows.
Patch by Björn Axelsson gecko A acc D umu D se
Originally committed as revision 17013 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |