diff options
Diffstat (limited to 'src/post/audio/volnorm.c')
-rw-r--r-- | src/post/audio/volnorm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post/audio/volnorm.c b/src/post/audio/volnorm.c index 783c1e26d..07d06fe1c 100644 --- a/src/post/audio/volnorm.c +++ b/src/post/audio/volnorm.c @@ -407,7 +407,7 @@ static post_plugin_t *volnorm_open_plugin(post_class_t *class_gen, int inputs, xine_audio_port_t **audio_target, xine_video_port_t **video_target) { - post_plugin_volnorm_t *this = (post_plugin_volnorm_t *)xine_xmalloc(sizeof(post_plugin_volnorm_t)); + post_plugin_volnorm_t *this = calloc(1, sizeof(post_plugin_volnorm_t)); post_in_t *input; post_out_t *output; xine_post_in_t *input_api; |