aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtp.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-05 03:24:18 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-05 03:24:18 +0000
commit6ce2df8c8e001b6a10e55bc879180eb13eebab2b (patch)
treed04ab9765d2412b16d1f1c48eae443450aa993a6 /main/rtp.c
parente101cc8387216cf926b0485c6e1850b19fb6bb2b (diff)
Merged revisions 57768 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r57768 | file | 2007-03-04 22:22:17 -0500 (Sun, 04 Mar 2007) | 2 lines Preserve marker bit when P2P bridging. (issue #9198 reported by edgreenberg) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57769 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/rtp.c')
-rw-r--r--main/rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/rtp.c b/main/rtp.c
index 728eaa849..acd139418 100644
--- a/main/rtp.c
+++ b/main/rtp.c
@@ -1102,7 +1102,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;