提交 d3937624 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-10573: [freeswitch-core] Native recording causes segfault #resolve

上级 9127c413
......@@ -1230,7 +1230,7 @@ static switch_bool_t record_callback(switch_media_bug_t *bug, void *user_data, s
switch_core_session_get_read_impl(session, &rh->read_impl);
if (switch_core_file_has_video(rh->fh, SWITCH_TRUE)) {
if (rh->fh && switch_core_file_has_video(rh->fh, SWITCH_TRUE)) {
switch_core_media_bug_set_media_params(bug, &rh->fh->mm);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论