diff options
| author | jhurst <jhurst@cinecert.com> | 2009-05-18 05:18:32 +0000 |
|---|---|---|
| committer | jhurst <> | 2009-05-18 05:18:32 +0000 |
| commit | 65a8ec13b66c700b74788d3fc7525e91cf62bab0 (patch) | |
| tree | 15f588026b93aae7e65a4bf37ed4cffe8e4bc4ad /src/Index.cpp | |
| parent | 111e0170052b57fc128a37fa02736015edb8c60f (diff) | |
massive dictionary re-factoring
Diffstat (limited to 'src/Index.cpp')
| -rwxr-xr-x | src/Index.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Index.cpp b/src/Index.cpp index 3bebb1d..e231f8e 100755 --- a/src/Index.cpp +++ b/src/Index.cpp @@ -34,7 +34,8 @@ const ui32_t kl_length = ASDCP::SMPTE_UL_LENGTH + ASDCP::MXF_BER_LENGTH; // -ASDCP::MXF::IndexTableSegment::IndexTableSegment() : +ASDCP::MXF::IndexTableSegment::IndexTableSegment(const Dictionary& d) : + InterchangeObject(d), m_Dict(d), IndexStartPosition(0), IndexDuration(0), EditUnitByteCount(0), IndexSID(129), BodySID(1), SliceCount(0), PosTableCount(0) { @@ -85,7 +86,7 @@ ASDCP::MXF::IndexTableSegment::WriteToTLVSet(TLVWriter& TLVSet) ASDCP::Result_t ASDCP::MXF::IndexTableSegment::InitFromBuffer(const byte_t* p, ui32_t l) { - m_Typeinfo = &Dict::Type(MDD_IndexTableSegment); + m_Typeinfo = &m_Dict.Type(MDD_IndexTableSegment); return InterchangeObject::InitFromBuffer(p, l); } @@ -93,7 +94,7 @@ ASDCP::MXF::IndexTableSegment::InitFromBuffer(const byte_t* p, ui32_t l) ASDCP::Result_t ASDCP::MXF::IndexTableSegment::WriteToBuffer(ASDCP::FrameBuffer& Buffer) { - m_Typeinfo = &Dict::Type(MDD_IndexTableSegment); + m_Typeinfo = &m_Dict.Type(MDD_IndexTableSegment); return InterchangeObject::WriteToBuffer(Buffer); } |
