diff options
Diffstat (limited to 'src/video_dec/foovideo.c')
-rw-r--r-- | src/video_dec/foovideo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_dec/foovideo.c b/src/video_dec/foovideo.c index 49c63422c..653f7eb47 100644 --- a/src/video_dec/foovideo.c +++ b/src/video_dec/foovideo.c @@ -202,7 +202,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre foovideo_decoder_t *this ; - this = (foovideo_decoder_t *) xine_xmalloc (sizeof (foovideo_decoder_t)); + this = (foovideo_decoder_t *) calloc(1, sizeof(foovideo_decoder_t)); this->video_decoder.decode_data = foovideo_decode_data; this->video_decoder.flush = foovideo_flush; @@ -236,7 +236,7 @@ static void *init_plugin (xine_t *xine, void *data) { foovideo_class_t *this; - this = (foovideo_class_t *) xine_xmalloc (sizeof (foovideo_class_t)); + this = (foovideo_class_t *) calloc(1, sizeof(foovideo_class_t)); this->decoder_class.open_plugin = open_plugin; this->decoder_class.identifier = "foovideo"; |