# HG changeset patch # User arpi # Date 1002331419 0 # Node ID 3e55202cfdabbbcb98d6df21b36c90d44ee555b4 # Parent 569a5d7b5d8a1b9e60477cc32cbeb85120d67d28 ehh. first chunk is counted from 1. fixed... diff -r 569a5d7b5d8a -r 3e55202cfdab demux_mov.c --- a/demux_mov.c Sat Oct 06 00:59:45 2001 +0000 +++ b/demux_mov.c Sat Oct 06 01:23:39 2001 +0000 @@ -271,7 +271,7 @@ 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); }