[asterisk-commits] qwell: branch 1.4 r61707 -
/branches/1.4/main/rtp.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Apr 20 14:35:28 MST 2007
Author: qwell
Date: Fri Apr 20 16:35:27 2007
New Revision: 61707
URL: http://svn.digium.com/view/asterisk?view=rev&rev=61707
Log:
Avoid invalid seqno cycling detection.
Per comment from Dave Troy:
This adds back in some simple typecasting I had in an earlier version
which I realize now may be breaking things.
Issue #9554.
Modified:
branches/1.4/main/rtp.c
Modified: branches/1.4/main/rtp.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/rtp.c?view=diff&rev=61707&r1=61706&r2=61707
==============================================================================
--- branches/1.4/main/rtp.c (original)
+++ branches/1.4/main/rtp.c Fri Apr 20 16:35:27 2007
@@ -1208,7 +1208,7 @@
/* Schedule transmission of Receiver Report */
rtp->rtcp->schedid = ast_sched_add(rtp->sched, ast_rtcp_calc_interval(rtp), ast_rtcp_write, rtp);
}
- if ( rtp->lastrxseqno - seqno > 100) /* if so it would indicate that the sender cycled; allow for misordering */
+ if ( (int)rtp->lastrxseqno - (int)seqno > 100) /* if so it would indicate that the sender cycled; allow for misordering */
rtp->cycles += RTP_SEQ_MOD;
rtp->lastrxseqno = seqno;
More information about the asterisk-commits
mailing list