mirror of
https://code.videolan.org/videolan/vlc
synced 2024-08-27 04:21:53 +02:00
libvlc: fix calloc usage.
This commit is contained in:
parent
4514176255
commit
478ff4e11c
@ -252,7 +252,7 @@ libvlc_media_t * libvlc_media_new_from_input_item(
|
||||
return NULL;
|
||||
}
|
||||
|
||||
p_md = calloc( sizeof(libvlc_media_t), 1 );
|
||||
p_md = calloc( 1, sizeof(libvlc_media_t) );
|
||||
if( !p_md )
|
||||
{
|
||||
libvlc_exception_raise( p_e );
|
||||
|
Loading…
Reference in New Issue
Block a user