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

Freeswitch SVN anthm at freeswitch.org
Fri Mar 9 19:43:53 EST 2007


Author: anthm
Date: Fri Mar  9 19:43:53 2007
New Revision: 4500

Modified:
   freeswitch/trunk/src/switch_rtp.c

Log:
minor update

Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c	(original)
+++ freeswitch/trunk/src/switch_rtp.c	Fri Mar  9 19:43:53 2007
@@ -1443,11 +1443,7 @@
 	if (switch_test_flag(frame, SFF_CNG)) {
 		payload = rtp_session->cng_pt;
 	} else {
-		payload = frame->payload;	
-		if (payload != rtp_session->payload) {
-			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "payload mismatch %d->%d", payload, rtp_session->payload);
-			payload = rtp_session->payload;
-		}
+		payload = rtp_session->payload;
 	}
 
 	if (fwd && !packetize) {



More information about the Freeswitch-svn mailing list