From 0e8c30a5057434d5c4022157340f24cb891020ff Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Sat, 24 Feb 2024 17:28:17 +0100 Subject: [PATCH] don't export EbmlMaster semantic context as a DLL entry It's accessible via GetContextMaster(). --- matroska/KaxContexts.h | 4 ++-- src/KaxContexts.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/matroska/KaxContexts.h b/matroska/KaxContexts.h index 17015037..72c82378 100644 --- a/matroska/KaxContexts.h +++ b/matroska/KaxContexts.h @@ -13,9 +13,9 @@ namespace libmatroska { -extern const libebml::EbmlSemanticContext MATROSKA_DLL_API Context_KaxMatroska; +extern const libebml::EbmlSemanticContextMaster MATROSKA_DLL_API Context_KaxMatroska; -extern MATROSKA_DLL_API const libebml::EbmlSemanticContext & GetKaxGlobal_Context(); +extern MATROSKA_DLL_API const libebml::EbmlSemanticContextMaster & GetKaxGlobal_Context(); } // namespace libmatroska diff --git a/src/KaxContexts.cpp b/src/KaxContexts.cpp index 281c263f..52c516b5 100644 --- a/src/KaxContexts.cpp +++ b/src/KaxContexts.cpp @@ -25,7 +25,7 @@ DEFINE_END_SEMANTIC(KaxMatroska) DEFINE_MKX_CONTEXT(KaxMatroska) // for the moment -const EbmlSemanticContext & GetKaxGlobal_Context() +const EbmlSemanticContextMaster & GetKaxGlobal_Context() { return GetEbmlGlobal_Context(); }