[matroska] r859 - trunk/JEBML/src/org/ebml/matroska

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: jcsston
Date: 2004-10-03 13:42:03 +0400 (Sun, 03 Oct 2004)
New Revision: 859

Modified:
   trunk/JEBML/src/org/ebml/matroska/MatroskaBlock.java
Log:
Fixed EBML lacing reading.
Tested Xiph and Fixed lacing.
All lacing methods are read correctly.

Modified: trunk/JEBML/src/org/ebml/matroska/MatroskaBlock.java
===================================================================
--- trunk/JEBML/src/org/ebml/matroska/MatroskaBlock.java	2004-10-03 08:52:57 UTC (rev 858)
+++ trunk/JEBML/src/org/ebml/matroska/MatroskaBlock.java	2004-10-03 09:42:03 UTC (rev 859)
@@ -72,6 +72,8 @@
     long ByteStartPos = source.getFilePointer();
 
     LaceSizes[0] = (int)EBMLReader.readEBMLCode(source);
+    LaceSizes[LaceCount] -= LaceSizes[0];
+
     long FirstEBMLSize = LaceSizes[0];
     long LastEBMLSize = 0;
     for (int l = 0; l < LaceCount-1; l++) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.