| Index: webrtc/modules/rtp_rtcp/source/rtp_utility.cc
|
| diff --git a/webrtc/modules/rtp_rtcp/source/rtp_utility.cc b/webrtc/modules/rtp_rtcp/source/rtp_utility.cc
|
| index 4b5ecfa6983d61cba3ebaf9adc74496858c7f4bf..d0870ae315a8ef90447b88deeec01185c1c44e23 100644
|
| --- a/webrtc/modules/rtp_rtcp/source/rtp_utility.cc
|
| +++ b/webrtc/modules/rtp_rtcp/source/rtp_utility.cc
|
| @@ -452,8 +452,7 @@ void RtpHeaderParser::ParseOneByteExtensionHeader(
|
| // | ID | len=0 | Content type |
|
| // +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
|
|
| - if (ptr[0] <
|
| - static_cast<uint8_t>(VideoContentType::TOTAL_CONTENT_TYPES)) {
|
| + if (VideoContentTypeHelpers::IsValidContentType(ptr[0])) {
|
| header->extension.hasVideoContentType = true;
|
| header->extension.videoContentType =
|
| static_cast<VideoContentType>(ptr[0]);
|
|
|