mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
Fix small but deadly typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
rtp.c
2
rtp.c
@@ -994,7 +994,7 @@ static int ast_rtp_raw_write(struct ast_rtp *rtp, struct ast_frame *f, int codec
|
||||
}
|
||||
/* Re-calculate last TS */
|
||||
rtp->lastts = rtp->lastts + ms * 8;
|
||||
if (!f->delivery.tv_sec && f->delivery.tv_usec) {
|
||||
if (!f->delivery.tv_sec && !f->delivery.tv_usec) {
|
||||
/* If this isn't an absolute delivery time, Check if it is close to our prediction,
|
||||
and if so, go with our prediction */
|
||||
if (abs(rtp->lastts - pred) < 640)
|
||||
|
Reference in New Issue
Block a user