diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-06 01:23:39 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-06 01:23:39 +0000 |
commit | c9271fb76d64b463d2cf72cfbbce437222b79a6f (patch) | |
tree | c9107a4dd59a78734b4e089a8eadde53f2c8e746 /demux_mov.c | |
parent | 24249d2ef33af01490c0f62fa823397958f11fc3 (diff) | |
download | mpv-c9271fb76d64b463d2cf72cfbbce437222b79a6f.tar.bz2 mpv-c9271fb76d64b463d2cf72cfbbce437222b79a6f.tar.xz |
ehh. first chunk is counted from 1. fixed...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2104 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'demux_mov.c')
-rw-r--r-- | demux_mov.c | 2 |
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); } |