diff options
| author | jhurst <jhurst@cinecert.com> | 2009-05-18 16:24:44 +0000 |
|---|---|---|
| committer | jhurst <> | 2009-05-18 16:24:44 +0000 |
| commit | b6f407694245e9310cb164b69e54fca32f1cbb8b (patch) | |
| tree | ee1f4f42930ad951359b45cce0ccada3a98d896c /src/MXF.cpp | |
| parent | 65a8ec13b66c700b74788d3fc7525e91cf62bab0 (diff) | |
oi
Diffstat (limited to 'src/MXF.cpp')
| -rwxr-xr-x | src/MXF.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
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); |
