summaryrefslogtreecommitdiff
path: root/rtp.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-02-25 20:59:39 +0000
committerMark Spencer <markster@digium.com>2004-02-25 20:59:39 +0000
commit500ebad7aadbf15f31f270087cca7c8eea97721e (patch)
treef2bb535278d8ee2b7878d646c24c91f29168dfde /rtp.c
parent6de8d14b29143d600ae962cec26f257a60ab07a5 (diff)
Fix slow down in rtp.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 83bbfa8fb..3e0a65253 100755
--- a/rtp.c
+++ b/rtp.c
@@ -913,7 +913,7 @@ static int ast_rtp_raw_write(struct ast_rtp *rtp, struct ast_frame *f, int codec
case AST_FORMAT_ALAW:
/* If we're within +/- 20ms from when where we
predict we should be, use that */
- pred = rtp->lastts + f->datalen * 2;
+ pred = rtp->lastts + f->datalen;
break;
case AST_FORMAT_ADPCM:
case AST_FORMAT_G726: