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

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Subtitles/DVBSub.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Subtitles/DVBSub.cpp b/src/Subtitles/DVBSub.cpp
index 9d5095871..b109252e2 100644
--- a/src/Subtitles/DVBSub.cpp
+++ b/src/Subtitles/DVBSub.cpp
@@ -630,6 +630,7 @@ HRESULT CDVBSub::ParseObject(CGolombBuffer& gb, WORD wSegLength)
HRESULT CDVBSub::EnqueuePage(REFERENCE_TIME rtStop)
{
+ ASSERT(m_pCurrentPage != nullptr);
if (m_pCurrentPage->rtStart < rtStop && m_pCurrentPage->rtStop > rtStop) {
m_pCurrentPage->rtStop = rtStop;
}