use calloc instead of malloc - simplifies code and fixes overflow problems.
commit9641a1433c7573ab78c1c0123f3226b21f757d8e
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Thu, 6 Apr 2006 20:56:35 +0000 (6 20:56 +0000)
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Thu, 6 Apr 2006 20:56:35 +0000 (6 20:56 +0000)
tree4e1faec39f40fcd42c2ab9ddc0fb577e1771e4d3
parent9ec42a7e3f03b57851d92994453e30e40d86a55d
use calloc instead of malloc - simplifies code and fixes overflow problems.
Path by Bjorn Sandell (biorn at chalmers se)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18052 b3059339-0415-0410-9bf9-f77b7e298cf2
libmpdemux/aviheader.c