]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
MODENDP-216
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 1 May 2009 12:29:44 +0000 (12:29 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 1 May 2009 12:29:44 +0000 (12:29 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13214 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_loopback/mod_loopback.c

index 74205ef750d81989639b7f152cada8e8a635e1e6..6331cbd708bde4bb60acdd7c222363cf4b818a4d 100644 (file)
@@ -573,6 +573,7 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
                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,