summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/asterisk/rtp.h4
-rw-r--r--main/asterisk.exports2
-rw-r--r--main/rtp.c4
3 files changed, 4 insertions, 6 deletions
diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h
index 19b98c30d..c42906a06 100644
--- a/include/asterisk/rtp.h
+++ b/include/asterisk/rtp.h
@@ -402,10 +402,10 @@ void ast_rtp_set_rtptimers_onhold(struct ast_rtp *rtp);
* \param num_gen number of redundant generations, primary data excluded
* \since 1.6.1
*/
-int rtp_red_init(struct ast_rtp *rtp, int ti, int *pt, int num_gen);
+int ast_rtp_red_init(struct ast_rtp *rtp, int ti, int *pt, int num_gen);
/*! \brief Buffer t.140 data */
-void red_buffer_t140(struct ast_rtp *rtp, struct ast_frame *f);
+void ast_red_buffer_t140(struct ast_rtp *rtp, struct ast_frame *f);
diff --git a/main/asterisk.exports b/main/asterisk.exports
index 9cdf8c207..97bdb17bd 100644
--- a/main/asterisk.exports
+++ b/main/asterisk.exports
@@ -28,8 +28,6 @@
devstate2str;
__manager_event;
dialed_interface_info;
- red_buffer_t140;
- rtp_red_init;
local:
*;
};
diff --git a/main/rtp.c b/main/rtp.c
index 3e24e25bb..38ff9ad3a 100644
--- a/main/rtp.c
+++ b/main/rtp.c
@@ -4815,7 +4815,7 @@ static struct ast_frame *red_t140_to_red(struct rtp_red *red) {
* \param num_gen numbers of generations (primary generation not encounted)
*
*/
-int rtp_red_init(struct ast_rtp *rtp, int ti, int *red_data_pt, int num_gen)
+int ast_rtp_red_init(struct ast_rtp *rtp, int ti, int *red_data_pt, int num_gen)
{
struct rtp_red *r;
int x;
@@ -4854,7 +4854,7 @@ int rtp_red_init(struct ast_rtp *rtp, int ti, int *red_data_pt, int num_gen)
* \param rtp
* \param f frame
*/
-void red_buffer_t140(struct ast_rtp *rtp, struct ast_frame *f)
+void ast_red_buffer_t140(struct ast_rtp *rtp, struct ast_frame *f)
{
if (f->datalen > -1) {
struct rtp_red *red = rtp->red;