diff --git a/src/xmp.cpp b/src/xmp.cpp index da6e11c0fd..dedbbd4979 100644 --- a/src/xmp.cpp +++ b/src/xmp.cpp @@ -634,8 +634,9 @@ void XmpParser::terminate() { void XmpParser::registerNs(const std::string& ns, const std::string& prefix) { try { initialize(); - AutoLock autoLock(xmpLockFct_, pLockData_); - SXMPMeta::DeleteNamespace(ns.c_str()); + // apparently we can't delete namespaces anymore + // see WXMPMeta.cpp + // SXMPMeta::DeleteNamespace(ns.c_str()); #ifdef EXV_ADOBE_XMPSDK SXMPMeta::RegisterNamespace(ns.c_str(), prefix.c_str(), nullptr); #else