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:
parent
175ff111f4
commit
89d02e08fc
1 changed files with 1 additions and 1 deletions
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 a new issue