[MPlayer-cvslog] r27745 - branches/1.0rc2/libmpdemux/demux_mov.c
reimar
subversion at mplayerhq.hu
Sun Oct 12 17:24:45 CEST 2008
Author: reimar
Date: Sun Oct 12 17:24:44 2008
New Revision: 27745
Log:
Backport r27280, which fixes the incomplete patch from r25921
Modified:
branches/1.0rc2/libmpdemux/demux_mov.c
Modified: branches/1.0rc2/libmpdemux/demux_mov.c
==============================================================================
--- branches/1.0rc2/libmpdemux/demux_mov.c (original)
+++ branches/1.0rc2/libmpdemux/demux_mov.c Sun Oct 12 17:24:44 2008
@@ -173,8 +173,8 @@ void mov_build_index(mov_track_t* trak,i
i=trak->chunkmap_size;
while(i>0){
--i;
- j=FFMAX(trak->chunkmap[i].first, 0);
- for(;j<last;j++){
+ j=trak->chunkmap[i].first;
+ for(;j>=0 && j<last;j++){
trak->chunks[j].desc=trak->chunkmap[i].sdid;
trak->chunks[j].size=trak->chunkmap[i].spc;
}
More information about the MPlayer-cvslog
mailing list