summaryrefslogtreecommitdiff
path: root/src/Dict.cpp
diff options
context:
space:
mode:
authorPierre-Anthony Lemieux <pal@palemieux.com>2020-03-10 20:47:33 -0700
committerPierre-Anthony Lemieux <pal@palemieux.com>2020-03-10 20:47:33 -0700
commitc93f726df76687de551b8b9258305975d56ff102 (patch)
treeec52fdffd17911a4e74aa3c81a9dc77eed84ab96 /src/Dict.cpp
parent7b70b206a3bd767aad3a9a3c789cff9d0e9c38f2 (diff)
Replaced ATMOS with IAB terminologyissues/0015-replace-ATMOS-w-IAB
Diffstat (limited to 'src/Dict.cpp')
-rwxr-xr-xsrc/Dict.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/Dict.cpp b/src/Dict.cpp
index 752b81a..7100b48 100755
--- a/src/Dict.cpp
+++ b/src/Dict.cpp
@@ -138,35 +138,35 @@ ASDCP::SMPTE_390_OPAtom_Entry() {
//
//
-static ASDCP::Dictionary s_AtmosSMPTEDict;
-static Kumu::Mutex s_AtmosSMPTEDictLock;
-static bool s_AtmosSMPTEDictInit = false;
+static ASDCP::Dictionary s_IABSMPTEDict;
+static Kumu::Mutex s_IABSMPTEDictLock;
+static bool s_IABSMPTEDictInit = false;
//
const ASDCP::Dictionary&
-ASDCP::AtmosSMPTEDict()
+ASDCP::IABSMPTEDict()
{
- if ( ! s_AtmosSMPTEDictInit )
+ if ( ! s_IABSMPTEDictInit )
{
- Kumu::AutoMutex AL(s_AtmosSMPTEDictLock);
+ Kumu::AutoMutex AL(s_IABSMPTEDictLock);
- if ( ! s_AtmosSMPTEDictInit )
+ if ( ! s_IABSMPTEDictInit )
{
- s_AtmosSMPTEDict.Init();
+ s_IABSMPTEDict.Init();
- s_AtmosSMPTEDict.DeleteEntry(MDD_MXFInterop_OPAtom);
- s_AtmosSMPTEDict.DeleteEntry(MDD_MXFInterop_CryptEssence);
- s_AtmosSMPTEDict.DeleteEntry(MDD_MXFInterop_GenericDescriptor_SubDescriptors);
+ s_IABSMPTEDict.DeleteEntry(MDD_MXFInterop_OPAtom);
+ s_IABSMPTEDict.DeleteEntry(MDD_MXFInterop_CryptEssence);
+ s_IABSMPTEDict.DeleteEntry(MDD_MXFInterop_GenericDescriptor_SubDescriptors);
// legacy Atmos files have the wrong version byte
- assert(s_AtmosSMPTEDict.Type(MDD_GenericDataEssenceDescriptor_DataEssenceCoding).ul[7] == 0x03);
- s_AtmosSMPTEDict.MutableType(MDD_GenericDataEssenceDescriptor_DataEssenceCoding).ul[7] = 0x05;
+ assert(s_IABSMPTEDict.Type(MDD_GenericDataEssenceDescriptor_DataEssenceCoding).ul[7] == 0x03);
+ s_IABSMPTEDict.MutableType(MDD_GenericDataEssenceDescriptor_DataEssenceCoding).ul[7] = 0x05;
- s_AtmosSMPTEDictInit = true;
+ s_IABSMPTEDictInit = true;
}
}
- return s_AtmosSMPTEDict;
+ return s_IABSMPTEDict;
}
//------------------------------------------------------------------------------------------