mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-08 19:11:20 +00:00
trivial compiler warning fix
This commit is contained in:
parent
add9d26ac5
commit
9a3cf6015b
@ -2856,6 +2856,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
|
|||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef 0
|
||||||
if (bytes && rtp_session->recv_msg.header.version == 2 &&
|
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) &&
|
!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 &&
|
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 */
|
/* drop frames of incorrect payload number and return CNG frame instead */
|
||||||
return_cng_frame();
|
return_cng_frame();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!bytes && (io_flags & SWITCH_IO_FLAG_NOBLOCK)) {
|
if (!bytes && (io_flags & SWITCH_IO_FLAG_NOBLOCK)) {
|
||||||
rtp_session->missed_count = 0;
|
rtp_session->missed_count = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user