summaryrefslogtreecommitdiff
path: root/src/h__Reader.cpp
diff options
context:
space:
mode:
authorWolfgang Ruppel <imftool@t-online.de>2019-07-06 15:56:43 +0200
committerGitHub <noreply@github.com>2019-07-06 15:56:43 +0200
commitae53f039c3bca75a60ad4c7fa8e004ab1c530a96 (patch)
treecedc054ada678485b8fdce9186b779a7c0e663e8 /src/h__Reader.cpp
parent0317dcb43c14eae0393552999bc2389abec52336 (diff)
parent5c74d64d6e8d72b54e4ab34204c1ba06539422f5 (diff)
Merge pull request #3 from cinecert/master
Sync with upstream
Diffstat (limited to 'src/h__Reader.cpp')
-rwxr-xr-xsrc/h__Reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/h__Reader.cpp b/src/h__Reader.cpp
index a764767..77f532e 100755
--- a/src/h__Reader.cpp
+++ b/src/h__Reader.cpp
@@ -108,7 +108,7 @@ ASDCP::h__ASDCPReader::OpenMXFRead(const std::string& filename)
}
}
- if ( m_RIP.PairArray.front().ByteOffset != 0 )
+ if ( !m_RIP.PairArray.empty() && m_RIP.PairArray.front().ByteOffset != 0 )
{
DefaultLogSink().Error("First Partition in RIP is not at offset 0.\n");
result = RESULT_FORMAT;