提交 7409f414 authored 作者: Michael Jerris's avatar Michael Jerris

logic fix on rtp_common_read on a not ready session, init bytes to 0 so the…

logic fix on rtp_common_read on a not ready session, init bytes to 0 so the checks outside of the while loop work.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3386 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 9415cdca
...@@ -757,7 +757,7 @@ static void do_2833(switch_rtp_t *rtp_session) ...@@ -757,7 +757,7 @@ static void do_2833(switch_rtp_t *rtp_session)
static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_type, switch_frame_flag_t *flags) static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_type, switch_frame_flag_t *flags)
{ {
switch_size_t bytes; switch_size_t bytes = 0;
switch_status_t status; switch_status_t status;
uint8_t check = 1; uint8_t check = 1;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论