aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorBjörn Axelsson <gecko@acc.umu.se>2009-02-02 23:24:28 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-02-02 23:24:28 +0000
commitf8ca63e8e4b985ae3ce21ba224165dcff2023d0e (patch)
tree07490b5f1a859dd84b4ae4051879544ffc368d1e /ffplay.c
parent0d08e27015fc33b974d1c62626a4415d4de0872b (diff)
downloadffmpeg-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffplay.c b/ffplay.c
index 877c9f6e43..6697e9c69c 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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;