git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@124
a6f86f6d-0131-4f8e-9e7b-
e335508773d5
\r
KaxSeekID & aNewID = GetChild<KaxSeekID>(aNewPoint);\r
binary ID[4];\r
- for (int i=EBML_ID_LENGTH(EbmlId(aElt)); i>0; i--) {\r
- ID[4-i] = (EBML_ID_VALUE(EbmlId(aElt)) >> 8*(i-1)) & 0xFF;\r
- }\r
- aNewID.CopyBuffer(ID, EBML_ID_LENGTH(EbmlId(aElt)));\r
+ ((const EbmlId&)aElt).Fill(ID);\r
+ aNewID.CopyBuffer(ID, EBML_ID_LENGTH((const EbmlId&)aElt));\r
}\r
\r
KaxSeek * KaxSeekHead::FindFirstOf(const EbmlCallbacks & Callbacks) const\r