[Freeswitch-svn] [commit] r9782 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Wed Oct 1 14:52:01 EDT 2008


Author: anthm
Date: Wed Oct  1 14:52:00 2008
New Revision: 9782

Modified:
   freeswitch/trunk/src/switch_rtp.c

Log:
doh

Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c	(original)
+++ freeswitch/trunk/src/switch_rtp.c	Wed Oct  1 14:52:00 2008
@@ -1298,7 +1298,7 @@
 		if (bytes) {
 			rtp_session->missed_count = 0;
 
-			if ((rtp_session->recv_msg.header.pt == rtp_session->cng_pt || rtp_session->recv_msg.header.pt == 13)) {
+			if (rtp_session->recv_msg.header.pt && (rtp_session->recv_msg.header.pt == rtp_session->cng_pt || rtp_session->recv_msg.header.pt == 13)) {
 				if (++rtp_session->cng_count == 1) {
 					return_cng_frame();
 				} 



More information about the Freeswitch-svn mailing list