forked from Mirrors/freeswitch
FS-7942 #comment Fix segfault on T.38 FAX calls
This commit is contained in:
parent
240cfef430
commit
86ab3c5d1e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user