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:
Diffstat (limited to 'src/Subtitles/HdmvSub.h')
-rw-r--r--src/Subtitles/HdmvSub.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Subtitles/HdmvSub.h b/src/Subtitles/HdmvSub.h
index 325963304..b47bc5e8a 100644
--- a/src/Subtitles/HdmvSub.h
+++ b/src/Subtitles/HdmvSub.h
@@ -108,11 +108,11 @@ public:
virtual REFERENCE_TIME GetStart(POSITION nPos) {
HDMV_PRESENTATION_SEGMENT* pPresentationSegment = m_pPresentationSegments.GetAt(nPos);
- return pPresentationSegment != NULL ? pPresentationSegment->rtStart : INVALID_TIME;
+ return pPresentationSegment != nullptr ? pPresentationSegment->rtStart : INVALID_TIME;
};
virtual REFERENCE_TIME GetStop(POSITION nPos) {
HDMV_PRESENTATION_SEGMENT* pPresentationSegment = m_pPresentationSegments.GetAt(nPos);
- return pPresentationSegment != NULL ? pPresentationSegment->rtStop : INVALID_TIME;
+ return pPresentationSegment != nullptr ? pPresentationSegment->rtStop : INVALID_TIME;
};
void Render(SubPicDesc& spd, REFERENCE_TIME rt, RECT& bbox);