summaryrefslogtreecommitdiff
path: root/main/rtp.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-03-05 03:24:18 +0000
committerJoshua Colp <jcolp@digium.com>2007-03-05 03:24:18 +0000
commitaabe0abaee332190231fae8484d7f0bf9093d8b5 (patch)
treed04ab9765d2412b16d1f1c48eae443450aa993a6 /main/rtp.c
parentd9bd122fce059f3ce50fd71d8b110d8b2c2990a0 (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: https://origsvn.digium.com/svn/asterisk/trunk@57769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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;