aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-14 17:36:12 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-12-14 17:36:12 +0000
commit349946aa3dd31ba2bce9b49e11d86883013ba31f (patch)
tree8c8757410274fbe6381a97971075be3aa6f47de3 /include/asterisk
parent6f85bce21e0ce66ec5420d25157817afbc07a72f (diff)
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/branches/1.4@48472 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/rtp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h
index 839648878..c0b3d4cfb 100644
--- a/include/asterisk/rtp.h
+++ b/include/asterisk/rtp.h
@@ -156,7 +156,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,