FSCORE-489

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15493 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-11-17 15:26:09 +00:00
parent d3ea0df951
commit d7e1c3468f
1 changed files with 1 additions and 1 deletions

View File

@ -2797,7 +2797,7 @@ static int rtp_common_write(switch_rtp_t *rtp_session,
rtp_session->stats.outbound.raw_bytes += bytes;
rtp_session->stats.outbound.packet_count++;
if (send_msg->header.pt == rtp_session->cng_pt) {
if (rtp_session->cng_pt && send_msg->header.pt == rtp_session->cng_pt) {
rtp_session->stats.outbound.cng_packet_count++;
} else {
rtp_session->stats.outbound.media_packet_count++;