[svn-commits] qwell: trunk r61708 - in /trunk: ./ main/rtp.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri Apr 20 14:37:05 MST 2007


Author: qwell
Date: Fri Apr 20 16:37:04 2007
New Revision: 61708

URL: http://svn.digium.com/view/asterisk?view=rev&rev=61708
Log:
Merged revisions 61707 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61707 | qwell | 2007-04-20 16:35:27 -0500 (Fri, 20 Apr 2007) | 8 lines

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:
    trunk/   (props changed)
    trunk/main/rtp.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/rtp.c
URL: http://svn.digium.com/view/asterisk/trunk/main/rtp.c?view=diff&rev=61708&r1=61707&r2=61708
==============================================================================
--- trunk/main/rtp.c (original)
+++ trunk/main/rtp.c Fri Apr 20 16:37:04 2007
@@ -1287,7 +1287,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 svn-commits mailing list