From 1b05e77127da7999c15ef5d751aa49945084a43b Mon Sep 17 00:00:00 2001 From: Mark Spencer <markster@digium.com> Date: Wed, 17 Mar 2004 16:49:00 +0000 Subject: [PATCH] Fix small but deadly typo git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2451 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtp.c b/rtp.c index 360faee705..a1e06f75d9 100755 --- a/rtp.c +++ b/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) -- GitLab