FS-7942 #comment Fix segfault on T.38 FAX calls

This commit is contained in:
Patrice Fournier 2015-07-30 22:27:35 -04:00
parent 240cfef430
commit 86ab3c5d1e

View File

@ -6800,7 +6800,7 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_zerocopy_read_frame(switch_rtp_t *rtp
frame->data = RTP_BODY(rtp_session);
if (bytes < rtp_header_len || switch_test_flag(frame, SFF_CNG)) {
if (!rtp_session->flags[SWITCH_RTP_FLAG_UDPTL] && (bytes < rtp_header_len || switch_test_flag(frame, SFF_CNG))) {
frame->packet = NULL;
frame->timestamp = 0;
frame->seq = 0;