FSCORE-571

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16995 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2010-03-15 20:41:56 +00:00
parent 453d038d76
commit cb79d08592
1 changed files with 1 additions and 1 deletions

View File

@ -694,7 +694,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se
break;
}
} else if (switch_test_flag(read_frame, SFF_CNG) && fill_cng) {
len = write_frame.datalen;
len = write_frame.datalen / 2;
if (switch_core_file_write(fh, write_frame.data, &len) != SWITCH_STATUS_SUCCESS) {
break;
}