forked from Mirrors/freeswitch
Merge pull request #381 in FS/freeswitch from ~PFOURNIER/freeswitch:bugfix/t.38_segfault to master
* commit '86ab3c5d1e6e6109fab8e4ecec725e078560f7c9': FS-7942 #comment Fix segfault on T.38 FAX calls
This commit is contained in:
commit
3ba29f7f0e
@ -6809,7 +6809,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