[asterisk-commits] oej: branch oej/teapot-1.8 r417796 - /team/oej/teapot-1.8/res/res_rtp_asterisk.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 3 03:41:13 CDT 2014


Author: oej
Date: Thu Jul  3 03:41:05 2014
New Revision: 417796

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=417796
Log:
Isolate more stuff

Modified:
    team/oej/teapot-1.8/res/res_rtp_asterisk.c

Modified: team/oej/teapot-1.8/res/res_rtp_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/teapot-1.8/res/res_rtp_asterisk.c?view=diff&rev=417796&r1=417795&r2=417796
==============================================================================
--- team/oej/teapot-1.8/res/res_rtp_asterisk.c (original)
+++ team/oej/teapot-1.8/res/res_rtp_asterisk.c Thu Jul  3 03:41:05 2014
@@ -2738,7 +2738,7 @@
 			struct ast_frame cngoff = { AST_FRAME_CONTROL, { AST_CONTROL_CNG_END, } };
 			ast_debug(2, "DEACTIVATING Comfort Noise \n");
 			ast_clear_flag(rtp, FLAG_CN_ACTIVE);
-			f = ast_frdup(&cngoff);
+			f = ast_frisolate(&cngoff);
 			AST_LIST_INSERT_TAIL(&frames, f, frame_list);
 			f = NULL;
 		}
@@ -2774,7 +2774,7 @@
 		struct ast_frame cngoff = { AST_FRAME_CONTROL, { AST_CONTROL_CNG_END, } };
 		ast_debug(2, "DEACTIVATING Comfort Noise \n");
 		ast_clear_flag(rtp, FLAG_CN_ACTIVE);
-		f = ast_frdup(&cngoff);
+		f = ast_frisolate(&cngoff);
 		AST_LIST_INSERT_TAIL(&frames, f, frame_list);
 		f = NULL;
 	}




More information about the asterisk-commits mailing list