[Freeswitch-svn] [commit] r13214 - freeswitch/trunk/src/mod/endpoints/mod_loopback

FreeSWITCH SVN anthm at freeswitch.org
Fri May 1 05:29:44 PDT 2009


Author: anthm
Date: Fri May  1 07:29:44 2009
New Revision: 13214

Log:
MODENDP-216

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_loopback/mod_loopback.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_loopback/mod_loopback.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_loopback/mod_loopback.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_loopback/mod_loopback.c	Fri May  1 07:29:44 2009
@@ -573,6 +573,7 @@
 		tech_pvt->cng_frame.codec = &tech_pvt->read_codec;
 		tech_pvt->cng_frame.datalen = tech_pvt->read_codec.implementation->decoded_bytes_per_packet;
 		memset(tech_pvt->cng_frame.data, 0, tech_pvt->cng_frame.datalen);
+		memset(&data, 0, sizeof(data));
 
 		if (strcasecmp(tech_pvt->read_codec.implementation->iananame, "L16")) {
 			status = switch_core_codec_encode(&tech_pvt->read_codec,



More information about the Freeswitch-svn mailing list