forked from Mirrors/freeswitch
[Core] Fix short-circuit in write timestamp calc
This commit is contained in:
parent
7ce50c8bd0
commit
47c5c8f3e8
|
@ -9039,7 +9039,6 @@ SWITCH_DECLARE(int) switch_rtp_write_frame(switch_rtp_t *rtp_session, switch_fra
|
|||
data = frame->data;
|
||||
len = frame->datalen;
|
||||
ts = rtp_session->flags[SWITCH_RTP_FLAG_RAW_WRITE] ? (uint32_t) frame->timestamp : 0;
|
||||
if (!ts) ts = rtp_session->last_write_ts + rtp_session->samples_per_interval;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue