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

add assert

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6182 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 2e3d02ef
......@@ -136,6 +136,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
goto done;
}
assert((*frame)->codec != NULL);
if ((session->read_codec && (*frame)->codec && session->read_codec->implementation != (*frame)->codec->implementation)) {
need_codec = TRUE;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论