Mercurial > mplayer.hg
diff libass/ass.h @ 29381:fd2047f3adf6
Fix read after the end of allocated buffer.
author | eugeni |
---|---|
date | Sat, 18 Jul 2009 11:32:58 +0000 |
parents | 0f1b5b68af32 |
children | 73a32da1ef18 |
line wrap: on
line diff
--- a/libass/ass.h Sat Jul 18 04:31:55 2009 +0000 +++ b/libass/ass.h Sat Jul 18 11:32:58 2009 +0000 @@ -34,6 +34,8 @@ int w, h; // bitmap width/height int stride; // bitmap stride unsigned char* bitmap; // 1bpp stride*h alpha buffer + // Actual bitmap size may be as low as + // stride * (h-1) + w uint32_t color; // RGBA int dst_x, dst_y; // bitmap placement inside the video frame