From 77b60c3010425592da16e588c9a207c997e76349 Mon Sep 17 00:00:00 2001 From: Sai Asish Y Date: Mon, 20 Jul 2026 00:12:26 -0700 Subject: [PATCH] Guard against null rtpmap value in MP4RtpHintTrack::GetPayload Signed-off-by: Sai Asish Y --- src/rtphint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtphint.cpp b/src/rtphint.cpp index 787c9fb..822a886 100644 --- a/src/rtphint.cpp +++ b/src/rtphint.cpp @@ -320,7 +320,7 @@ void MP4RtpHintTrack::GetPayload( *ppPayloadName = NULL; if (ppEncodingParams) *ppEncodingParams = NULL; - if (m_pRtpMapProperty) { + if (m_pRtpMapProperty && m_pRtpMapProperty->GetValue() != NULL) { pRtpMap = m_pRtpMapProperty->GetValue(); pSlash = strchr(pRtpMap, '/');