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:
authorUnderground78 <underground78@users.sourceforge.net>2013-05-11 14:04:51 +0400
committerUnderground78 <underground78@users.sourceforge.net>2013-05-11 16:42:33 +0400
commit26e0cb6ee3fed1765e41c67ebd09dc137d176fb5 (patch)
tree5e088766cdda20b0de1f3b2fd2412b8852101062
parent2115f0f40bc312d51966f013b529afee8b63e355 (diff)
DVBSub: Add an assert.
-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;
}