[asterisk-commits] mmichelson: branch 10 r369511 - /branches/10/main/rtp_engine.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 29 15:28:14 CDT 2012


Author: mmichelson
Date: Fri Jun 29 15:28:10 2012
New Revision: 369511

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=369511
Log:
Fix apparent copy and paste error where incorrect "glue" is used.


Modified:
    branches/10/main/rtp_engine.c

Modified: branches/10/main/rtp_engine.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/rtp_engine.c?view=diff&rev=369511&r1=369510&r2=369511
==============================================================================
--- branches/10/main/rtp_engine.c (original)
+++ branches/10/main/rtp_engine.c Fri Jun 29 15:28:10 2012
@@ -1201,7 +1201,7 @@
 				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 */




More information about the asterisk-commits mailing list