[MPlayer-cvslog] r27303 - trunk/libmpdemux/demux_mov.c
reimar
subversion at mplayerhq.hu
Wed Jul 16 19:28:19 CEST 2008
Author: reimar
Date: Wed Jul 16 19:28:19 2008
New Revision: 27303
Log:
100l, fix calloc being called with the wrong argument due to reordering
two lines in SVN r27263
Modified:
trunk/libmpdemux/demux_mov.c
Modified: trunk/libmpdemux/demux_mov.c
==============================================================================
--- trunk/libmpdemux/demux_mov.c (original)
+++ trunk/libmpdemux/demux_mov.c Wed Jul 16 19:28:19 2008
@@ -1887,7 +1887,7 @@ static int lschunks_intrak(demuxer_t* de
"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);
More information about the MPlayer-cvslog
mailing list