diff options
Diffstat (limited to 'src/video_dec/yuv.c')
-rw-r--r-- | src/video_dec/yuv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_dec/yuv.c b/src/video_dec/yuv.c index c1e5825c5..323a1648f 100644 --- a/src/video_dec/yuv.c +++ b/src/video_dec/yuv.c @@ -316,7 +316,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre yuv_decoder_t *this ; - this = (yuv_decoder_t *) xine_xmalloc (sizeof (yuv_decoder_t)); + this = (yuv_decoder_t *) calloc(1, sizeof(yuv_decoder_t)); this->video_decoder.decode_data = yuv_decode_data; this->video_decoder.flush = yuv_flush; @@ -338,7 +338,7 @@ static void *init_plugin (xine_t *xine, void *data) { yuv_class_t *this; - this = (yuv_class_t *) xine_xmalloc (sizeof (yuv_class_t)); + this = (yuv_class_t *) calloc(1, sizeof(yuv_class_t)); this->decoder_class.open_plugin = open_plugin; this->decoder_class.identifier = "YUV"; |