summaryrefslogtreecommitdiff
path: root/xine_frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'xine_frontend.c')
-rw-r--r--xine_frontend.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xine_frontend.c b/xine_frontend.c
index 91c2f048..61f19e77 100644
--- a/xine_frontend.c
+++ b/xine_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend.c,v 1.55 2008-05-07 15:19:08 phintuka Exp $
+ * $Id: xine_frontend.c,v 1.56 2008-05-21 20:06:45 phintuka Exp $
*
*/
@@ -657,8 +657,7 @@ static int fe_xine_init(frontend_t *this_gen, const char *audio_driver,
this->pes_buffers = pes_buffers;
- posts = this->postplugins = malloc(sizeof(post_plugins_t));
- memset(posts, 0, sizeof(post_plugins_t));
+ posts = this->postplugins = calloc(1, sizeof(post_plugins_t));
posts->xine = this->xine;
posts->audio_port = this->audio_port;
posts->video_port = this->video_port;