diff options
| author | jhurst <jhurst@cinecert.com> | 2021-05-11 14:58:22 -0700 |
|---|---|---|
| committer | jhurst <jhurst@cinecert.com> | 2021-05-11 14:58:22 -0700 |
| commit | e5b0a7dbeaaa2b16ea63d7265ed7413f8de2df10 (patch) | |
| tree | 96cfac1cf70ae0c06bf7e6becc8d0ca9d0214f25 /src/AS_DCP_internal.h | |
| parent | b14d706a72c706c9c59dbdf64a9e41f32465e060 (diff) | |
| parent | 3ca74908e673c88ca0ef4350fb74df184aab3332 (diff) | |
merge origin/master
Diffstat (limited to 'src/AS_DCP_internal.h')
| -rwxr-xr-x | src/AS_DCP_internal.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/AS_DCP_internal.h b/src/AS_DCP_internal.h index a86783e..f3d3c96 100755 --- a/src/AS_DCP_internal.h +++ b/src/AS_DCP_internal.h @@ -196,8 +196,8 @@ namespace ASDCP ~KLReader() {} inline const byte_t* Key() { return m_KeyBuf; } - inline const ui64_t Length() { return m_ValueLength; } - inline const ui64_t KLLength() { return m_KLLength; } + inline ui64_t Length() { return m_ValueLength; } + inline ui64_t KLLength() { return m_KLLength; } Result_t ReadKLFromFile(Kumu::FileReader& Reader); }; @@ -249,7 +249,6 @@ namespace ASDCP if ( ASDCP_SUCCESS(result) ) { result = m_RIP.InitFromFile(m_File); - ui32_t test_s = (ui32_t)m_RIP.PairArray.size(); if ( ASDCP_FAILURE(result) ) { @@ -358,7 +357,7 @@ namespace ASDCP // get absolute frame position and go read the frame's key and length Result_t result = RESULT_OK; - if ( TmpEntry.StreamOffset != m_LastPosition ) + if ( static_cast<Kumu::fpos_t>(TmpEntry.StreamOffset) != m_LastPosition ) { m_LastPosition = TmpEntry.StreamOffset; result = m_File.Seek(TmpEntry.StreamOffset); |
