diff --git a/spectool/schema_2_kaxsemantic_cpp.xsl b/spectool/schema_2_kaxsemantic_cpp.xsl index 19d18ca6..536ae7ca 100644 --- a/spectool/schema_2_kaxsemantic_cpp.xsl +++ b/spectool/schema_2_kaxsemantic_cpp.xsl @@ -176,6 +176,17 @@ static constexpr const MatroskaProfile VERSION_WEBM_UP_TO_V4 = {true, false, 0, + + , KaxInternalBlock::SizeIsValid + , libebml::EbmlBinary::SizeIsValid + + , Kax + + + + ::SizeIsValid + + diff --git a/spectool/schema_2_kaxsemantic_h.xsl b/spectool/schema_2_kaxsemantic_h.xsl index 06dc3024..f66c4480 100644 --- a/spectool/schema_2_kaxsemantic_h.xsl +++ b/spectool/schema_2_kaxsemantic_h.xsl @@ -67,7 +67,6 @@ namespace libmatroska { DECLARE_MKX_BINARY - _LENGTH DECLARE_MKX_UINTEGER @@ -98,9 +97,6 @@ namespace libmatroska { - - , - ) public: @@ -108,6 +104,14 @@ namespace libmatroska { libebml::filepos_t RenderData(libebml::IOCallback & output, bool bForceRender, const ShouldWrite & writeFilter) override; + + static inline bool SizeIsValid(std::uint64_t Size) {return Size + + + == + + ;} + };