[matroska] r859 - trunk/JEBML/src/org/ebml/matroska
| 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++) {