X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fh__Reader.cpp;h=77f532e7fe20c1edd6d90a29d37b9ec9f1900c55;hb=fbeb429e6640090158610f03a8bbaca004b6f256;hp=a764767fc99837062595229503fbcf17e98bfc26;hpb=ea075cec39a00b8e25aba8578f341c93dabee9ed;p=asdcplib.git 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;