aboutsummaryrefslogtreecommitdiffstats
path: root/rtp.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-17 16:49:00 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-03-17 16:49:00 +0000
commit89d02e08fc3e2d06c8abc4755e3f06da0719d1c8 (patch)
tree459a00ea82b0d731975a6bf0bdac4264fa91289e /rtp.c
parent175ff111f42cd46950e1e564cfc00636052f1344 (diff)
Fix small but deadly typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2451 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rwxr-xr-xrtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtp.c b/rtp.c
index 360faee70..a1e06f75d 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)