summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2012-06-29 20:32:40 +0000
committerMark Michelson <mmichelson@digium.com>2012-06-29 20:32:40 +0000
commit628425ba6fdc1ce1aa6f85e33fe83f1e6eeeaa00 (patch)
treeb280ccca46112ed285b6a237bd02cef166f1b779 /main
parentac35b92b628064a1fcf962895f0befd57aff0442 (diff)
Fix apparent copy and paste error where incorrect "glue" is used.
........ Merged revisions 369511 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/rtp_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/rtp_engine.c b/main/rtp_engine.c
index 297bf3b77..07ca23414 100644
--- a/main/rtp_engine.c
+++ b/main/rtp_engine.c
@@ -1206,7 +1206,7 @@ static enum ast_bridge_result remote_bridge_loop(struct ast_channel *c0,
if (glue1->get_codec && ast_channel_tech_pvt(c1)) {
ast_format_cap_remove_all(cap1);
ast_format_cap_remove_all(oldcap1);
- glue0->get_codec(c1, cap1);
+ glue1->get_codec(c1, cap1);
ast_format_cap_append(oldcap1, cap1);
}
/* Since UPDATE_BRIDGE_PEER is only used by the bridging code, don't forward it */