aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/rtp.c b/main/rtp.c
index b3731a3e7..e25409e47 100644
--- a/main/rtp.c
+++ b/main/rtp.c
@@ -1032,7 +1032,7 @@ static int bridge_p2p_rtp_write(struct ast_rtp *rtp, struct ast_rtp *bridged, un
version = (seqno & 0xC0000000) >> 30;
payload = (seqno & 0x7f0000) >> 16;
padding = seqno & (1 << 29);
- mark = seqno & (1 << 23);
+ mark = (seqno & 0x800000) >> 23;
ext = seqno & (1 << 28);
seqno &= 0xffff;