diff options
-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;
}
|