From fdf31e0105bf8272a6b7fa9c4039941dff37a271 Mon Sep 17 00:00:00 2001 From: jhurst Date: Sun, 26 Mar 2006 02:16:21 +0000 Subject: now reads/writes 3-partition files --- src/MXF.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/MXF.cpp') diff --git a/src/MXF.cpp b/src/MXF.cpp index 413513c..ed16cab 100755 --- a/src/MXF.cpp +++ b/src/MXF.cpp @@ -200,7 +200,7 @@ ASDCP::MXF::Partition::Partition() : MajorVersion(1), MinorVersion(2), KAGSize(1), ThisPartition(0), PreviousPartition(0), FooterPartition(0), HeaderByteCount(0), IndexByteCount(0), IndexSID(0), - BodyOffset(0), BodySID(1) + BodyOffset(0), BodySID(0) { m_PacketList = new h__PacketList; } @@ -637,6 +637,8 @@ ASDCP::MXF::OPAtomHeader::InitFromFile(const ASDCP::FileReader& Reader) if ( ASDCP_SUCCESS(result) ) result = Partition::InitFromFile(Reader); // test UL and OP + Partition::Dump(); + // is it really OP-Atom? UL OPAtomUL(Dict::ul(MDD_OPAtom)); UL InteropOPAtomUL(Dict::ul(MDD_MXFInterop_OPAtom)); -- cgit v1.2.3