]> git.sesse.net Git - vlc/commit
Fix some brain-damaged calloc use
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 1 Mar 2008 17:42:57 +0000 (17:42 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 1 Mar 2008 17:42:57 +0000 (17:42 +0000)
commit80af71f72f1ac98a372f8a75ebca09d3430c7192
treeaca24dec874651ce62140ab16913c9648926ebb8
parent55f6f335c31fec9e60a3bdf3506779351fb0c9e6
Fix some brain-damaged calloc use
(Hint: sizeof(char) is ONE per the definition of sizeof)
(Hint: size is the SECOND parameter of calloc, not the FIRST one)
(Hint: calloc() calls bzero(), waste of time if memory is set anyway)
modules/demux/mp4/libmp4.c