summaryrefslogtreecommitdiff
path: root/src/post/planar/fill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/post/planar/fill.c')
-rw-r--r--src/post/planar/fill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post/planar/fill.c b/src/post/planar/fill.c
index 6dd5ce23b..5aacfd679 100644
--- a/src/post/planar/fill.c
+++ b/src/post/planar/fill.c
@@ -63,7 +63,7 @@ static post_plugin_t *fill_open_plugin(post_class_t *class_gen, int inputs,
xine_audio_port_t **audio_target,
xine_video_port_t **video_target)
{
- post_plugin_t *this = (post_plugin_t *)xine_xmalloc(sizeof(post_plugin_t));
+ post_plugin_t *this = calloc(1, sizeof(post_plugin_t));
post_in_t *input;
post_out_t *output;
post_video_port_t *port;