[asterisk-commits] irroot: branch irroot/distrotech-customers-10 r338489 - /team/irroot/distrote...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 29 09:24:53 CDT 2011
Author: irroot
Date: Thu Sep 29 09:24:50 2011
New Revision: 338489
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=338489
Log:
Remove undeeded locking in follow codecs patch
Modified:
team/irroot/distrotech-customers-10/channels/chan_local.c
Modified: team/irroot/distrotech-customers-10/channels/chan_local.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-10/channels/chan_local.c?view=diff&rev=338489&r1=338488&r2=338489
==============================================================================
--- team/irroot/distrotech-customers-10/channels/chan_local.c (original)
+++ team/irroot/distrotech-customers-10/channels/chan_local.c Thu Sep 29 09:24:50 2011
@@ -613,9 +613,7 @@
!ast_format_cap_identical(bridge->nativeformats, ast->nativeformats)) {
while (lockcheck && ast_channel_trylock(p->chan)) {
lockcheck--;
- ao2_unlock(p);
usleep(1000);
- ao2_lock(p);
}
if (lockcheck) {
ast_format_cap_copy(ast->nativeformats, bridge->nativeformats);
More information about the asterisk-commits
mailing list