diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-14 17:39:16 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-12-14 17:39:16 +0000 |
commit | 9767c79f32aecf0ebd17179f52e02f5cacba620e (patch) | |
tree | 95b0fbe79ed517b483502e13a88a4834419b7aaa /include | |
parent | eb51e82a51bfb99aa8d97068cb80208f8cdac13f (diff) |
Merged revisions 48472 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48472 | file | 2006-12-14 12:36:12 -0500 (Thu, 14 Dec 2006) | 2 lines
Payload values on the RTP structure can change AFTER a bridge has started. This comes from the packet handling of the SIP response when indication that it was answered has been sent. Therefore we need to protect this data with a lock when we read/write. (issue #8232 reported by tgrman)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48473 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/rtp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h index 79de6700c..a93f39261 100644 --- a/include/asterisk/rtp.h +++ b/include/asterisk/rtp.h @@ -162,7 +162,7 @@ void ast_rtp_pt_clear(struct ast_rtp* rtp); void ast_rtp_pt_default(struct ast_rtp* rtp); /*! \brief Copy payload types between RTP structures */ -void ast_rtp_pt_copy(struct ast_rtp *dest, const struct ast_rtp *src); +void ast_rtp_pt_copy(struct ast_rtp *dest, struct ast_rtp *src); void ast_rtp_set_m_type(struct ast_rtp* rtp, int pt); void ast_rtp_set_rtpmap_type(struct ast_rtp* rtp, int pt, |