Archived
14
0
Fork 0

Fix small but deadly typo

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2451 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2004-03-17 16:49:00 +00:00
parent 175ff111f4
commit 89d02e08fc

2
rtp.c
View file

@ -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)