Skip to content

Commit

Permalink
Fix skip_bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdr428 committed Oct 10, 2023
1 parent d6105b2 commit 1ca5ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsMuxer/ioContextDemuxer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ void IOContextDemuxer::skip_bytes(const int64_t size)
if (skipLeft > 2LL * m_fileBlockSize)
{
const int64_t offset = skipLeft - 2LL * m_fileBlockSize;
m_bufferedReader->seek(m_readerID, offset);
m_bufferedReader->seek(m_readerID, m_fileBlockSize);
m_processedBytes += offset;
skipLeft = 2LL * m_fileBlockSize;
}
Expand Down

0 comments on commit 1ca5ff2

Please sign in to comment.