From: Mark Michelson Date: Fri, 29 Jun 2012 20:28:10 +0000 (+0000) Subject: Fix apparent copy and paste error where incorrect "glue" is used. X-Git-Tag: 10.7.0-rc1~3^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9b8debc5c919b48cf3c0912e77f495d687e9e14;p=thirdparty%2Fasterisk.git Fix apparent copy and paste error where incorrect "glue" is used. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@369511 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/rtp_engine.c b/main/rtp_engine.c index 82091a040c..ea5e903533 100644 --- a/main/rtp_engine.c +++ b/main/rtp_engine.c @@ -1201,7 +1201,7 @@ static enum ast_bridge_result remote_bridge_loop(struct ast_channel *c0, if (glue1->get_codec && c1->tech_pvt) { 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 */