From aa6ec4a0be294f3508a5e5ed7bef516c03132c5f Mon Sep 17 00:00:00 2001 From: phintuka Date: Fri, 26 Sep 2008 13:33:31 +0000 Subject: 1.0.2: Backported bugfixes from CVS trunk - xine-lib 1.2 updates --- xine/post_util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xine/post_util.h b/xine/post_util.h index 06154ed7..a5d57b8d 100644 --- a/xine/post_util.h +++ b/xine/post_util.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: post_util.h,v 1.3 2008-02-28 06:10:54 phintuka Exp $ + * $Id: post_util.h,v 1.3.2.1 2008-09-26 13:33:31 phintuka Exp $ * */ @@ -53,7 +53,7 @@ static void draw_internal(vo_frame_t *frame, vo_frame_t *new_frame); static void *init_plugin(xine_t *xine, void *data) { - post_class_t *class = (post_class_t *)malloc(sizeof(post_class_t)); + post_class_t *class = calloc(1, sizeof(post_class_t)); if (!class) return NULL; -- cgit v1.2.3