[Mplayer-cvslog] CVS: main/libmpdemux demux_mkv.cpp,1.6,1.7
Moritz Bunkus CVS
mosu at mplayerhq.hu
Tue May 6 12:37:00 CEST 2003
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv20348
Modified Files:
demux_mkv.cpp
Log Message:
Vorbis header packet lengths were calculated incorrectly.
Index: demux_mkv.cpp
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mkv.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- demux_mkv.cpp 5 May 2003 19:18:22 -0000 1.6
+++ demux_mkv.cpp 6 May 2003 10:36:32 -0000 1.7
@@ -493,7 +493,8 @@
t->headers[1] = &c[offset + t->header_sizes[0]];
t->headers[2] = &c[offset + t->header_sizes[0] +
t->header_sizes[1]];
- t->header_sizes[2] = t->private_size - offset;
+ t->header_sizes[2] = t->private_size - offset -
+ t->header_sizes[0] - t->header_sizes[1];
t->a_formattag = 0xFFFE;
} else {
More information about the MPlayer-cvslog
mailing list