summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/modules/xine/emotion_xine_vo_out.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2008-12-25 08:35:51 +0000
committerCarsten Haitzler <raster@rasterman.com>2008-12-25 08:35:51 +0000
commit297858d10c81b8189a897e14ae6c2f2f68d8723b (patch)
treea35693b23f5a869da189ba7f1e97568fb20931e0 /legacy/emotion/src/modules/xine/emotion_xine_vo_out.c
parent8b4a02c601eaba53097a083c3472cbc70653e415 (diff)
calloc not malloc! bad patches!
SVN revision: 38318
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/modules/xine/emotion_xine_vo_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/emotion/src/modules/xine/emotion_xine_vo_out.c b/legacy/emotion/src/modules/xine/emotion_xine_vo_out.c
index 7e3c66b4c4..e3bf7d59e5 100644
--- a/legacy/emotion/src/modules/xine/emotion_xine_vo_out.c
+++ b/legacy/emotion/src/modules/xine/emotion_xine_vo_out.c
@@ -311,7 +311,7 @@ _emotion_frame_alloc(vo_driver_t *vo_driver)
311 311
312 dv = (Emotion_Driver *)vo_driver; 312 dv = (Emotion_Driver *)vo_driver;
313// printf("emotion: _emotion_frame_alloc()\n"); 313// printf("emotion: _emotion_frame_alloc()\n");
314 fr = (Emotion_Frame *)malloc(sizeof(Emotion_Frame)); 314 fr = (Emotion_Frame *)calloc(1, sizeof(Emotion_Frame));
315 if (!fr) return NULL; 315 if (!fr) return NULL;
316 316
317 fr->vo_frame.base[0] = NULL; 317 fr->vo_frame.base[0] = NULL;