[asterisk-commits] branch group/rtpjitterbuffer r30747 - /team/group/rtpjitterbuffer/channel.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue May 30 04:34:45 MST 2006


Author: russell
Date: Tue May 30 06:34:45 2006
New Revision: 30747

URL: http://svn.digium.com/view/asterisk?rev=30747&view=rev
Log:
use the variable that already holds who the other channel is

Modified:
    team/group/rtpjitterbuffer/channel.c

Modified: team/group/rtpjitterbuffer/channel.c
URL: http://svn.digium.com/view/asterisk/team/group/rtpjitterbuffer/channel.c?rev=30747&r1=30746&r2=30747&view=diff
==============================================================================
--- team/group/rtpjitterbuffer/channel.c (original)
+++ team/group/rtpjitterbuffer/channel.c Tue May 30 06:34:45 2006
@@ -3421,12 +3421,12 @@
 #ifdef AST_JB
 				/* Write immediately frames, not passed through jb */
 				if (!frame_put_in_jb)
-					ast_write((who == c0) ? c1 : c0, f);
+					ast_write(other, f);
 				
 				/* Check if we have to deliver now */
 				ast_jb_get_and_deliver(c0, c1);
 #else /* AST_JB */
-				ast_write((who == c0) ? c1 : c0, f);
+				ast_write(other, f);
 #endif /* AST_JB */
 			}
 			/* other frames go to the other side */



More information about the asterisk-commits mailing list