diff options
author | Björn Axelsson <gecko@acc.umu.se> | 2009-02-02 23:24:28 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-02-02 23:24:28 +0000 |
commit | f8ca63e8e4b985ae3ce21ba224165dcff2023d0e (patch) | |
tree | 07490b5f1a859dd84b4ae4051879544ffc368d1e /ffplay.c | |
parent | 0d08e27015fc33b974d1c62626a4415d4de0872b (diff) | |
download | ffmpeg-f8ca63e8e4b985ae3ce21ba224165dcff2023d0e.tar.gz |
Fix vertical resolution of subtitles.
Patch by Björn Axelsson gecko A acc D umu D se
Originally committed as revision 16963 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -533,7 +533,7 @@ static void blend_subrect(AVPicture *dst, const AVSubtitleRect *rect, int imgw, a1 = a; lum[0] = ALPHA_BLEND(a, lum[0], y, 0); - YUVA_IN(y, u, v, a, p, pal); + YUVA_IN(y, u, v, a, p + BPP, pal); u1 += u; v1 += v; a1 += a; @@ -547,7 +547,7 @@ static void blend_subrect(AVPicture *dst, const AVSubtitleRect *rect, int imgw, a1 += a; lum[0] = ALPHA_BLEND(a, lum[0], y, 0); - YUVA_IN(y, u, v, a, p, pal); + YUVA_IN(y, u, v, a, p + BPP, pal); u1 += u; v1 += v; a1 += a; |