summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xine-engine/osd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/osd.c b/src/xine-engine/osd.c
index 36ce47e44..05acd4779 100644
--- a/src/xine-engine/osd.c
+++ b/src/xine-engine/osd.c
@@ -145,7 +145,7 @@ static osd_object_t *XINE_MALLOC osd_new_object (osd_renderer_t *this, int width
osd->width = width;
osd->height = height;
- osd->area = xine_xmalloc( width * height );
+ osd->area = calloc(width, height);
osd->x1 = width;
osd->y1 = height;