projects
/
asdcplib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13f1b31
)
Modified to enforce execution order of the predicates
author
jhurst
<jhurst@cinecert.com>
Thu, 13 Jun 2019 01:08:14 +0000
(18:08 -0700)
committer
dbullock
<dbullock@cinecert.com>
Fri, 28 Jun 2019 16:37:14 +0000
(09:37 -0700)
src/h__02_Reader.cpp
patch
|
blob
|
history
diff --git
a/src/h__02_Reader.cpp
b/src/h__02_Reader.cpp
index 39db8cbe37623a3a20a0e4b16daafe167e42a5a3..b3c092b39ede5b625a55a6ef94b50ca1c180b50a 100644
(file)
--- 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;