summaryrefslogtreecommitdiffstats
path: root/demux_mov.c
diff options
context:
space:
mode:
Diffstat (limited to 'demux_mov.c')
-rw-r--r--demux_mov.c2
1 files changed, 1 insertions, 1 deletions
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;i<len;i++){
- trak->chunkmap[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);
}