MODENDP-216

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13214 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-05-01 12:29:44 +00:00
parent 27861f29b5
commit 0c8d839bd6
1 changed files with 1 additions and 0 deletions

View 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,