diff options
author | 2003-01-04 11:41:13 +0000 | |
---|---|---|
committer | 2003-01-04 11:41:13 +0000 | |
commit | 6e6b3fdac29fae6e8abd7748d0671fb99181cd2e (patch) | |
tree | 2eb4f01bad657f238f2db7e07fb3ea32c1bc7cfe /TOOLS/subfont-c/subfont.c | |
parent | 8e00a1b2dc6b6ed3a8ee8ba8955a5dbc57dd99ab (diff) |
10l
patch by Christian LESTRADE <christian.lestrade@free.fr>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8766 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS/subfont-c/subfont.c')
-rw-r--r-- | TOOLS/subfont-c/subfont.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TOOLS/subfont-c/subfont.c b/TOOLS/subfont-c/subfont.c index c49bbc8d2a..8608fa12e4 100644 --- a/TOOLS/subfont-c/subfont.c +++ b/TOOLS/subfont-c/subfont.c @@ -1030,6 +1030,7 @@ int main(int argc, char **argv) { abuffer = (unsigned char*)malloc(width*height); if (abuffer==NULL) ERROR("malloc failed."); + memset(abuffer, 0, width*height); alpha(); write_bitmap(abuffer, 'a'); |