diff --git a/webrtc/RtpExt.cpp b/webrtc/RtpExt.cpp
index 3178ac0c..b9568584 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 == kTwoByteHeader) {
+ if ((reserved & 0xFFF0) == kTwoByteHeader) {
appendExt(ret, ptr, end);
return ret;
}