[svn-commits] mmichelson: branch group/performance r400182 - /team/group/performance/bridges/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Sep 30 13:49:13 CDT 2013


Author: mmichelson
Date: Mon Sep 30 13:49:11 2013
New Revision: 400182

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=400182
Log:
Fix an unconverted usage of ast_format_cap_alloc_nolock()


Modified:
    team/group/performance/bridges/bridge_native_rtp.c

Modified: team/group/performance/bridges/bridge_native_rtp.c
URL: http://svnview.digium.com/svn/asterisk/team/group/performance/bridges/bridge_native_rtp.c?view=diff&rev=400182&r1=400181&r2=400182
==============================================================================
--- team/group/performance/bridges/bridge_native_rtp.c (original)
+++ team/group/performance/bridges/bridge_native_rtp.c Mon Sep 30 13:49:11 2013
@@ -124,8 +124,8 @@
 	RAII_VAR(struct ast_rtp_instance *, vinstance1, NULL, ao2_cleanup);
 	RAII_VAR(struct ast_rtp_instance *, tinstance0, NULL, ao2_cleanup);
 	RAII_VAR(struct ast_rtp_instance *, tinstance1, NULL, ao2_cleanup);
-	RAII_VAR(struct ast_format_cap *, cap0, ast_format_cap_alloc_nolock(), ast_format_cap_destroy);
-	RAII_VAR(struct ast_format_cap *, cap1, ast_format_cap_alloc_nolock(), ast_format_cap_destroy);
+	RAII_VAR(struct ast_format_cap *, cap0, ast_format_cap_alloc(AST_FORMAT_CAP_FLAG_NOLOCK), ast_format_cap_destroy);
+	RAII_VAR(struct ast_format_cap *, cap1, ast_format_cap_alloc(AST_FORMAT_CAP_FLAG_NOLOCK), ast_format_cap_destroy);
 
 	if (c0 == c1) {
 		return 0;




More information about the svn-commits mailing list