Mercurial > mplayer.hg
changeset 28802:0d4550d07af0
Fix \be blur start position.
author | greg |
---|---|
date | Fri, 06 Mar 2009 09:20:14 +0000 |
parents | 6dd365856eb1 |
children | 6887c715c4fa |
files | libass/ass_bitmap.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libass/ass_bitmap.c Fri Mar 06 09:20:09 2009 +0000 +++ b/libass/ass_bitmap.c Fri Mar 06 09:20:14 2009 +0000 @@ -264,7 +264,7 @@ unsigned int old_sum, new_sum; for (y=0; y<h; y++) { - old_sum = 2 * buf[0]; + old_sum = 2 * buf[y*w]; for (x=0; x<w-1; x++) { new_sum = buf[y*w+x] + buf[y*w+x+1]; buf[y*w+x] = (old_sum + new_sum) >> 2; @@ -273,7 +273,7 @@ } for (x=0; x<w; x++) { - old_sum = 2 * buf[0]; + old_sum = 2 * buf[x]; for (y=0; y<h-1; y++) { new_sum = buf[y*w+x] + buf[(y+1)*w+x]; buf[y*w+x] = (old_sum + new_sum) >> 2;