Commit 478ff4e1 authored by Rémi Duraffort's avatar Rémi Duraffort

libvlc: fix calloc usage.

parent 45141762
...@@ -252,7 +252,7 @@ libvlc_media_t * libvlc_media_new_from_input_item( ...@@ -252,7 +252,7 @@ libvlc_media_t * libvlc_media_new_from_input_item(
return NULL; return NULL;
} }
p_md = calloc( sizeof(libvlc_media_t), 1 ); p_md = calloc( 1, sizeof(libvlc_media_t) );
if( !p_md ) if( !p_md )
{ {
libvlc_exception_raise( p_e ); libvlc_exception_raise( p_e );
......
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