From 7e58d91a572d170e131fe54b4826c4fbee10c329 Mon Sep 17 00:00:00 2001
From: xiongziliang <771730766@qq.com>
Date: Fri, 13 May 2022 20:01:57 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Drtp=20two=20byte=20ext?=
=?UTF-8?q?=E8=A7=A3=E6=9E=90=E7=9B=B8=E5=85=B3bug:=20#1631?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
webrtc/RtpExt.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webrtc/RtpExt.cpp b/webrtc/RtpExt.cpp
index 51e40b01..3178ac0c 100644
--- a/webrtc/RtpExt.cpp
+++ b/webrtc/RtpExt.cpp
@@ -189,7 +189,7 @@ map RtpExt::getExtValue(const RtpHeader *header)
appendExt(ret, ptr, end);
return ret;
}
- if ((reserved & 0xFFF0) >> 4 == kTwoByteHeader) {
+ if (reserved & 0xFFF0 == kTwoByteHeader) {
appendExt(ret, ptr, end);
return ret;
}