mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Fix typo in outgoing rfc2833 handling (bug #1646)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
3
rtp.c
3
rtp.c
@@ -918,7 +918,6 @@ int ast_rtp_senddigit(struct ast_rtp *rtp, char digit)
|
||||
int hdrlen = 12;
|
||||
int res;
|
||||
int ms;
|
||||
int pred;
|
||||
int x;
|
||||
char data[256];
|
||||
|
||||
@@ -951,7 +950,7 @@ int ast_rtp_senddigit(struct ast_rtp *rtp, char digit)
|
||||
|
||||
ms = calc_txstamp(rtp, NULL);
|
||||
/* Default prediction */
|
||||
pred = rtp->lastts + ms * 8;
|
||||
rtp->lastts = rtp->lastts + ms * 8;
|
||||
|
||||
/* Get a pointer to the header */
|
||||
rtpheader = (unsigned int *)data;
|
||||
|
Reference in New Issue
Block a user