From 2f5b26277f88b747584c017e696bad1eda50ef77 Mon Sep 17 00:00:00 2001 From: reimar Date: Wed, 16 Jul 2008 17:28:19 +0000 Subject: [PATCH] 100l, fix calloc being called with the wrong argument due to reordering two lines in SVN r27263 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27303 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/demux_mov.c b/libmpdemux/demux_mov.c index b117a3f00d..613b4548b2 100644 --- a/libmpdemux/demux_mov.c +++ b/libmpdemux/demux_mov.c @@ -1887,7 +1887,7 @@ static int lschunks_intrak(demuxer_t* demuxer, int level, unsigned int id, "MOV: %*sEdit list table (%d entries) (ver:%d,flags:%d)\n", level, "", entries, ver, flags); #if 1 - trak->editlist = calloc(trak->editlist_size, sizeof(mov_editlist_t)); + trak->editlist = calloc(entries, sizeof(mov_editlist_t)); trak->editlist_size = trak->editlist ? entries : 0; for (i = 0; i < trak->editlist_size; i++) { int dur = stream_read_dword(demuxer->stream);