From 6e6b3fdac29fae6e8abd7748d0671fb99181cd2e Mon Sep 17 00:00:00 2001 From: arpi Date: Sat, 4 Jan 2003 11:41:13 +0000 Subject: [PATCH] 10l patch by Christian LESTRADE git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8766 b3059339-0415-0410-9bf9-f77b7e298cf2 --- TOOLS/subfont-c/subfont.c | 1 + 1 file changed, 1 insertion(+) 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');