From 5ba4db4449507e32ff78bbec71c58a6d6065c419 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Sat, 1 Jun 2019 08:53:48 +0200 Subject: [PATCH] do not write DivX FileUsed elements they are deprecated and not well documented --- matroska/KaxSemantic.h | 4 ++++ src/KaxSemantic.cpp | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/matroska/KaxSemantic.h b/matroska/KaxSemantic.h index 65084fb..6576795 100644 --- a/matroska/KaxSemantic.h +++ b/matroska/KaxSemantic.h @@ -88,9 +88,13 @@ DECLARE_MKX_MASTER(KaxChapterTranslate) DECLARE_MKX_UINTEGER(KaxChapterTranslateEditionUID) +public: + filepos_t RenderData(IOCallback & output, bool bForceRender, bool bSaveDefault); }; DECLARE_MKX_UINTEGER(KaxChapterTranslateCodec) +public: + filepos_t RenderData(IOCallback & output, bool bForceRender, bool bSaveDefault); }; DECLARE_MKX_BINARY (KaxChapterTranslateID) diff --git a/src/KaxSemantic.cpp b/src/KaxSemantic.cpp index cab1ac2..294c694 100644 --- a/src/KaxSemantic.cpp +++ b/src/KaxSemantic.cpp @@ -893,4 +893,14 @@ filepos_t KaxFileReferral::RenderData(IOCallback & /* output */, bool /* bForceR return 0; } +filepos_t KaxFileUsedStartTime::RenderData(IOCallback & /* output */, bool /* bForceRender */, bool /* bSaveDefault */) { + assert(false); // no you are not allowed to use this element ! + return 0; +} + +filepos_t KaxFileUsedEndTime::RenderData(IOCallback & /* output */, bool /* bForceRender */, bool /* bSaveDefault */) { + assert(false); // no you are not allowed to use this element ! + return 0; +} + END_LIBMATROSKA_NAMESPACE -- 2.40.0