1
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:
Rémi Duraffort 2010-01-19 14:32:31 +01:00
parent 4514176255
commit 478ff4e11c

View File

@ -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 );