[Mplayer-cvslog] CVS: main demux_mov.c,1.5,1.6

Arpi of Ize arpi at mplayer.dev.hu
Sat Oct 6 03:23:53 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv24139

Modified Files:
	demux_mov.c 
Log Message:
ehh. first chunk is counted from 1. fixed...

Index: demux_mov.c
===================================================================
RCS file: /cvsroot/mplayer/main/demux_mov.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- demux_mov.c	6 Oct 2001 00:58:23 -0000	1.5
+++ demux_mov.c	6 Oct 2001 01:23:39 -0000	1.6
@@ -271,7 +271,7 @@
 		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);
 		}




More information about the MPlayer-cvslog mailing list