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
This commit is contained in:
parent
9415cdcacb
commit
7409f414f5
|
@ -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)
|
||||
{
|
||||
switch_size_t bytes;
|
||||
switch_size_t bytes = 0;
|
||||
switch_status_t status;
|
||||
uint8_t check = 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue