We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 90b3124 + 5529951 commit 72c7541Copy full SHA for 72c7541
srtp/srtp.c
@@ -1423,7 +1423,7 @@ static srtp_err_status_t srtp_process_header_encryption(
1423
xtn_hdr_data++;
1424
}
1425
1426
- } else if ((ntohs(xtn_hdr->profile_specific) & 0x1fff) == 0x100) {
+ } else if ((ntohs(xtn_hdr->profile_specific) & 0xfff0) == 0x1000) {
1427
/* RFC 5285, section 4.3. Two-Byte Header */
1428
while (xtn_hdr_data + 1 < xtn_hdr_end) {
1429
uint8_t xid = *xtn_hdr_data;
0 commit comments