mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
FSCORE-571
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16995 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
453d038d76
commit
cb79d08592
@ -694,7 +694,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else if (switch_test_flag(read_frame, SFF_CNG) && fill_cng) {
|
} 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) {
|
if (switch_core_file_write(fh, write_frame.data, &len) != SWITCH_STATUS_SUCCESS) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user