From cb0455259bb9182fba466a4905b840fed3a72646 Mon Sep 17 00:00:00 2001 From: Jean Christophe DE RYCK Date: Sat, 11 May 2024 17:39:56 +0100 Subject: [PATCH] Fix issue #877 Regression on commit 5f43ab2 --- tsMuxer/movDemuxer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tsMuxer/movDemuxer.cpp b/tsMuxer/movDemuxer.cpp index a847d3ff..b4a34996 100644 --- a/tsMuxer/movDemuxer.cpp +++ b/tsMuxer/movDemuxer.cpp @@ -726,8 +726,7 @@ int MovDemuxer::simpleDemuxBlock(DemuxedData& demuxedData, const PIDSet& accepte } } const int64_t startPos = m_processedBytes; - while (m_processedBytes - startPos < m_fileBlockSize && m_curChunk < chunks.size() && - m_curChunk < m_mdat_data.size()) + while (m_processedBytes - startPos < m_fileBlockSize && m_curChunk < chunks.size()) { const int64_t offset = chunks[m_curChunk].first; int64_t next;