[matroska] r1089 - trunk/libebml/ebml
| Newsgroups | gmane.comp.multimedia.matroska.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: robux4
Date: 2005-03-16 15:28:14 +0300 (Wed, 16 Mar 2005)
New Revision: 1089
Modified:
trunk/libebml/ebml/EbmlMaster.h
Log:
libebml: allow retrieving the starting point of the actual data in a Master element
Modified: trunk/libebml/ebml/EbmlMaster.h
===================================================================
--- trunk/libebml/ebml/EbmlMaster.h 2005-03-14 10:34:24 UTC (rev 1088)
+++ trunk/libebml/ebml/EbmlMaster.h 2005-03-16 12:28:14 UTC (rev 1089)
@@ -77,6 +77,10 @@
else
return (0-1);
}
+
+ uint64 GetDataStart() const {
+ return ElementPosition + EbmlId(*this).Length + CodedSizeLength(Size, SizeLength);
+ }
/*!
\brief find the element corresponding to the ID of the element, NULL if not found