diff options
author | kmkaplan <kmkaplan@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-17 19:11:22 +0000 |
---|---|---|
committer | kmkaplan <kmkaplan@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-17 19:11:22 +0000 |
commit | c23212ca9c538b8445ad7da26915daaf52a33c29 (patch) | |
tree | 5d82b9f8cb55470d63c9bd439acf4e64ab928735 /spudec.c | |
parent | 6b5dd5b561628e84d69d2339787ad815f91488c2 (diff) | |
download | mpv-c23212ca9c538b8445ad7da26915daaf52a33c29.tar.bz2 mpv-c23212ca9c538b8445ad7da26915daaf52a33c29.tar.xz |
Suppress garbage at the end of some subtitles.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6460 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'spudec.c')
-rw-r--r-- | spudec.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -208,8 +208,11 @@ static void spudec_process_data(spudec_handle_t *this) /* 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; |