diff options
| author | jhurst <jhurst@cinecert.com> | 2019-06-12 18:08:14 -0700 |
|---|---|---|
| committer | dbullock <dbullock@cinecert.com> | 2019-06-28 09:37:14 -0700 |
| commit | 250b2032101b132a29e935173034cc4393f76978 (patch) | |
| tree | 85e89d11864c7f68064abedb82d8e1fe0524fe1b /src | |
| parent | 13f1b3172139a2f07804d8f9f5d1d987ab78b41f (diff) | |
Modified to enforce execution order of the predicates
Diffstat (limited to 'src')
| -rw-r--r-- | src/h__02_Reader.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/h__02_Reader.cpp b/src/h__02_Reader.cpp index 39db8cb..b3c092b 100644 --- a/src/h__02_Reader.cpp +++ b/src/h__02_Reader.cpp @@ -430,10 +430,13 @@ AS_02::h__AS02Reader::OpenMXFRead(const std::string& filename) } // - if ( !m_RIP.PairArray.empty() && m_RIP.PairArray.front().ByteOffset != 0 ) + if ( ! m_RIP.PairArray.empty() ) { - DefaultLogSink().Error("First Partition in RIP is not at offset 0.\n"); - return RESULT_AS02_FORMAT; + if ( m_RIP.PairArray.front().ByteOffset != 0 ) + { + DefaultLogSink().Error("First Partition in RIP is not at offset 0.\n"); + return RESULT_AS02_FORMAT; + } } Kumu::fpos_t first_partition_after_header = 0; |
