From b6f407694245e9310cb164b69e54fca32f1cbb8b Mon Sep 17 00:00:00 2001 From: jhurst Date: Mon, 18 May 2009 16:24:44 +0000 Subject: oi --- src/MXF.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/MXF.cpp') diff --git a/src/MXF.cpp b/src/MXF.cpp index bf8b049..9d20dcd 100755 --- a/src/MXF.cpp +++ b/src/MXF.cpp @@ -1382,9 +1382,6 @@ ASDCP::MXF::SetObjectFactory(ASDCP::UL label, ASDCP::MXF::MXFObjectFactory_t fac ASDCP::MXF::InterchangeObject* ASDCP::MXF::CreateObject(const Dictionary& Dict, const UL& label) { - if ( label == 0 ) - return 0; - if ( ! s_TypesInit ) { Kumu::AutoMutex BlockLock(s_InitLock); @@ -1396,7 +1393,7 @@ ASDCP::MXF::CreateObject(const Dictionary& Dict, const UL& label) } } - FLi_t i = s_FactoryList.find(label); + FLi_t i = s_FactoryList.find(label.Value()); if ( i == s_FactoryList.end() ) return new InterchangeObject(Dict); -- cgit v1.2.3