Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'demuxer')
-rw-r--r--demuxer/LAVSplitter/StreamParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demuxer/LAVSplitter/StreamParser.cpp b/demuxer/LAVSplitter/StreamParser.cpp
index dc774379..82a5741a 100644
--- a/demuxer/LAVSplitter/StreamParser.cpp
+++ b/demuxer/LAVSplitter/StreamParser.cpp
@@ -288,7 +288,7 @@ HRESULT CStreamParser::ParsePGS(Packet *pPacket)
m_pgsBuffer.SetSize(0);
- while((buf + 3) < buf_end) {
+ while((buf + 3) <= buf_end) {
const uint8_t *segment_start = buf;
const size_t segment_buf_len = buf_end - buf;
segment_type = AV_RB8(buf);