+2017-09-25 Moritz Bunkus <moritz@bunkus.org>
+
+ * KaxBlockGroup, KaxSimpleBlock: fixed writing the block header
+ if the track number is 128.
+
2017-03-10 Moritz Bunkus <moritz@bunkus.org>
* Released v1.4.7 with the single change of setting the version
mLacing = LACING_EBML; // supposedly the best of all
SetSize_(4 + 1); // 1 for the lacing head (number of laced elements)
}
- if (TrackNumber > 0x80)
+ if (TrackNumber >= 0x80)
SetSize_(GetSize() + 1);
// write Block Head
assert(0);
}
- output.writeFully(BlockHead, 4 + ((TrackNumber > 0x80) ? 1 : 0));
+ output.writeFully(BlockHead, 4 + ((TrackNumber >= 0x80) ? 1 : 0));
binary tmpValue;
switch (mLacing) {