Mercurial > mplayer.hg
changeset 6459:f82b8063f3e7
Suppress garbage at the end of some subtitles.
author | kmkaplan |
---|---|
date | Mon, 17 Jun 2002 19:11:22 +0000 |
parents | 766505ef1c33 |
children | 945071cf52ae |
files | spudec.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/spudec.c Mon Jun 17 17:12:22 2002 +0000 +++ b/spudec.c Mon Jun 17 19:11:22 2002 +0000 @@ -208,8 +208,11 @@ /* Kludge: draw_alpha needs width multiple of 8. */ if (this->width < this->stride) - for (y = 0; y < this->height; ++y) + for (y = 0; y < this->height; ++y) { memset(this->aimage + y * this->stride + this->width, 0, this->stride - this->width); + /* FIXME: Why is this one needed? */ + memset(this->image + y * this->stride + this->width, 0, this->stride - this->width); + } i = this->current_nibble[1]; x = 0;