提交 8ac4ddd5 authored 作者: Chris Rienzo's avatar Chris Rienzo 提交者: Andrey Volk

FS-11785 [mod_spandsp] fix dead assignments

上级 51798547
......@@ -473,7 +473,6 @@ void mod_spandsp_indicate_data(switch_core_session_t *session, switch_bool_t sel
if (locked) {
switch_core_session_rwunlock(target_session);
locked = 0;
}
}
}
......
......@@ -464,7 +464,6 @@ static switch_bool_t inband_dtmf_callback(switch_media_bug_t *bug, void *user_da
switch_resample_process(pvt->resampler, dp, (int) datalen / 2 / 1);
memcpy(dp, pvt->resampler->to, pvt->resampler->to_len * 2 * 1);
samples = pvt->resampler->to_len;
datalen = pvt->resampler->to_len * 2 * 1;
}
dtmf_rx(pvt->dtmf_detect, dp, samples);
......
......@@ -2061,12 +2061,10 @@ static switch_status_t t38_gateway_on_consume_media(switch_core_session_t *sessi
if (read_fd != FAX_INVALID_SOCKET) {
close(read_fd);
read_fd = FAX_INVALID_SOCKET;
}
if (write_fd != FAX_INVALID_SOCKET) {
close(write_fd);
write_fd = FAX_INVALID_SOCKET;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论