fix bug
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8477 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
085088f35e
commit
b5f2bec973
|
@ -650,7 +650,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_gentones(switch_core_session_t *sessi
|
|||
}
|
||||
|
||||
if ((write_frame.datalen = (uint32_t) switch_buffer_read_loop(audio_buffer, write_frame.data,
|
||||
read_frame->codec->implementation->bytes_per_frame)) <= 0) {
|
||||
read_codec->implementation->bytes_per_frame)) <= 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue