via: 9a3cf6015b5a9fc292d14c26033c2328b790490f (commit)
from: add9d26ac54291074ce0f82b971eaf7531a6c658 (commit)
= COMMIT LOG ===========================================================
committer: Jeff Lenk
comments:
trivial compiler warning fix
diff --git a/src/switch_rtp.c b/src/switch_rtp.c
index 76b2c91..58934bf 100644
--- a/src/switch_rtp.c
+++ b/src/switch_rtp.c
@@ -2856,6 +2856,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
goto end;
}
+#ifdef 0
if (bytes && rtp_session->recv_msg.header.version == 2 &&
!switch_test_flag(rtp_session, SWITCH_RTP_FLAG_PROXY_MEDIA) && !switch_test_flag(rtp_session, SWITCH_RTP_FLAG_UDPTL) &&
rtp_session->recv_msg.header.pt != 13 &&
@@ -2865,6 +2866,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
/* drop frames of incorrect payload number and return CNG frame instead */
return_cng_frame();
}
+#endif
if (!bytes && (io_flags & SWITCH_IO_FLAG_NOBLOCK)) {
rtp_session->missed_count = 0;
Summary of changes: src/switch_rtp.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email
For more info, see http://blog.chomperstomp.com/?p=630
--
FreeSWITCH Source