diff options
author | Underground78 <underground78@users.sourceforge.net> | 2013-05-11 14:04:51 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2013-05-11 16:42:33 +0400 |
commit | 26e0cb6ee3fed1765e41c67ebd09dc137d176fb5 (patch) | |
tree | 5e088766cdda20b0de1f3b2fd2412b8852101062 | |
parent | 2115f0f40bc312d51966f013b529afee8b63e355 (diff) |
DVBSub: Add an assert.
-rw-r--r-- | src/Subtitles/DVBSub.cpp | 1 |
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;
}
|