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:
Michael Jerris 2006-11-16 18:48:53 +00:00
parent 9415cdcacb
commit 7409f414f5
1 changed files with 1 additions and 1 deletions

View File

@ -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;