projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
676ef50
)
Fix blend_subrect for some subrects positioned on odd rows.
author
Björn Axelsson
<gecko@acc.umu.se>
Thu, 5 Feb 2009 23:10:05 +0000
(23:10 +0000)
committer
Carl Eugen Hoyos
<cehoyos@rainbow.studorg.tuwien.ac.at>
Thu, 5 Feb 2009 23:10:05 +0000
(23:10 +0000)
Patch by Björn Axelsson gecko A acc D umu D se
Originally committed as revision 17014 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffplay.c
patch
|
blob
|
history
diff --git
a/ffplay.c
b/ffplay.c
index
ad98f0a
..
946f4cd
100644
(file)
--- a/
ffplay.c
+++ b/
ffplay.c
@@
-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;
}