Commit 4e48a9c5 authored by Rémi Duraffort's avatar Rémi Duraffort

fix calloc usage.

parent 6955322a
...@@ -334,7 +334,7 @@ libvlc_media_list_player_new(libvlc_instance_t * p_instance, libvlc_exception_t ...@@ -334,7 +334,7 @@ libvlc_media_list_player_new(libvlc_instance_t * p_instance, libvlc_exception_t
{ {
(void)p_e; (void)p_e;
libvlc_media_list_player_t * p_mlp; libvlc_media_list_player_t * p_mlp;
p_mlp = calloc(sizeof(libvlc_media_list_player_t), 1); p_mlp = calloc( 1, sizeof(libvlc_media_list_player_t) );
if (!p_mlp) if (!p_mlp)
return NULL; return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment