diff --git a/src/common/ebml.cpp b/src/common/ebml.cpp index 7cd8a0dae..a74a5b33e 100644 --- a/src/common/ebml.cpp +++ b/src/common/ebml.cpp @@ -259,7 +259,7 @@ create_ebml_element(const EbmlCallbacks &callbacks, for (i = 0; i < EBML_CTX_SIZE(context); i++) if (id == EBML_SEM_ID(context.MyTable[i])) - return empty_ebml_master(&context.MyTable[i].Create()); + return empty_ebml_master(&context.MyTable[i].GetCallbacks.Create()); for (i = 0; i < EBML_CTX_SIZE(context); i++) { EbmlElement *e;