[asterisk-commits] branch oej/jitterbuffer-1.2 r30769 - /team/oej/jitterbuffer-1.2/channel.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue May 30 05:33:04 MST 2006


Author: russell
Date: Tue May 30 07:33:04 2006
New Revision: 30769

URL: http://svn.digium.com/view/asterisk?rev=30769&view=rev
Log:
fix a misplaced line

Modified:
    team/oej/jitterbuffer-1.2/channel.c

Modified: team/oej/jitterbuffer-1.2/channel.c
URL: http://svn.digium.com/view/asterisk/team/oej/jitterbuffer-1.2/channel.c?rev=30769&r1=30768&r2=30769&view=diff
==============================================================================
--- team/oej/jitterbuffer-1.2/channel.c (original)
+++ team/oej/jitterbuffer-1.2/channel.c Tue May 30 07:33:04 2006
@@ -3260,12 +3260,12 @@
 			}
 		} else
 			to = -1;
-		who = ast_waitfor_n(cs, 2, &to);
 #ifdef AST_JB
 		/* Calculate the appropriate max sleep interval - in general, this is the time,
 		   left to the closest jb delivery moment */
 		to = ast_jb_get_when_to_wakeup(c0, c1, to);
 #endif /* AST_JB */
+		who = ast_waitfor_n(cs, 2, &to);
 		if (!who) {
 #ifdef AST_JB
 			/* No frame received within the specified timeout - check if we have to deliver now */



More information about the asterisk-commits mailing list