From c9271fb76d64b463d2cf72cfbbce437222b79a6f Mon Sep 17 00:00:00 2001 From: arpi Date: Sat, 6 Oct 2001 01:23:39 +0000 Subject: [PATCH] ehh. first chunk is counted from 1. fixed... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2104 b3059339-0415-0410-9bf9-f77b7e298cf2 --- demux_mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demux_mov.c b/demux_mov.c index a4fc64cd61..0ad7263210 100644 --- a/demux_mov.c +++ b/demux_mov.c @@ -271,7 +271,7 @@ static void lschunks(demuxer_t* demuxer,int level,off_t endpos,mov_track_t* trak trak->chunkmap_size=len; trak->chunkmap=malloc(sizeof(mov_chunkmap_t)*len); for(i=0;ichunkmap[i].first=stream_read_dword(demuxer->stream); + trak->chunkmap[i].first=stream_read_dword(demuxer->stream)-1; trak->chunkmap[i].spc=stream_read_dword(demuxer->stream); trak->chunkmap[i].sdid=stream_read_dword(demuxer->stream); }