[Freeswitch-svn] [commit] r3386 - freeswitch/trunk/src
Freeswitch SVN
mikej at freeswitch.org
Thu Nov 16 13:48:54 EST 2006
Author: mikej
Date: Thu Nov 16 13:48:53 2006
New Revision: 3386
Modified:
freeswitch/trunk/src/switch_rtp.c
Log:
logic fix on rtp_common_read on a not ready session, init bytes to 0 so the checks outside of the while loop work.
Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c (original)
+++ freeswitch/trunk/src/switch_rtp.c Thu Nov 16 13:48:53 2006
@@ -757,7 +757,7 @@
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;
More information about the Freeswitch-svn
mailing list