diff options
author | Björn Axelsson <gecko@acc.umu.se> | 2009-02-05 23:10:05 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-02-05 23:10:05 +0000 |
commit | 4606a05979f48aea4cef5125cb885405c9903eee (patch) | |
tree | 9754e6a0ac0a8f0ee59461c48de8e28a6977fe84 | |
parent | 676ef505e620ac0313346343441f83067c0ed97d (diff) | |
download | ffmpeg-4606a05979f48aea4cef5125cb885405c9903eee.tar.gz |
Fix blend_subrect for some subrects positioned on odd rows.
Patch by Björn Axelsson gecko A acc D umu D se
Originally committed as revision 17014 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | ffplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -498,8 +498,8 @@ static void blend_subrect(AVPicture *dst, const AVSubtitleRect *rect, int imgw, p++; lum++; } - p += wrap3 + (wrap3 - dstw * BPP); - lum += wrap + (wrap - dstw - dstx); + p += wrap3 - dstw * BPP; + lum += wrap - dstw - dstx; cb += dst->linesize[1] - width2 - skip2; cr += dst->linesize[2] - width2 - skip2; } |