git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1373 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-05-05 16:17:36 +00:00
parent 2e0da1e8f7
commit 05441e62a2
1 changed files with 1 additions and 1 deletions

View File

@ -710,7 +710,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
}
bytes = sbytes;
}
if (bytes > 0) {
uint32_t effective_size = (uint32_t)(bytes - sizeof(srtp_mini_hdr_t));
if (rtp_session->recv_msg.header.pt == RTP_MAGIC_NUMBER) {