修复编译警告

This commit is contained in:
xiongziliang 2022-05-14 18:46:50 +08:00
parent b4166d5cfe
commit 4f768cacf1

View File

@ -189,7 +189,7 @@ map<uint8_t/*id*/, RtpExt/*data*/> RtpExt::getExtValue(const RtpHeader *header)
appendExt<RtpExtOneByte>(ret, ptr, end); appendExt<RtpExtOneByte>(ret, ptr, end);
return ret; return ret;
} }
if (reserved & 0xFFF0 == kTwoByteHeader) { if ((reserved & 0xFFF0) == kTwoByteHeader) {
appendExt<RtpExtTwoByte>(ret, ptr, end); appendExt<RtpExtTwoByte>(ret, ptr, end);
return ret; return ret;
} }