[zaptel-commits] mogorman: branch mogorman/zaptel-1.2-transcoder r1849 - /team/mogorman/zaptel...

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Thu Jan 18 13:15:49 MST 2007


Author: mogorman
Date: Thu Jan 18 14:15:48 2007
New Revision: 1849

URL: http://svn.digium.com/view/zaptel?view=rev&rev=1849
Log:
get rid of jrs comments

Modified:
    team/mogorman/zaptel-1.2-transcoder/ztcodec_dte/base.c

Modified: team/mogorman/zaptel-1.2-transcoder/ztcodec_dte/base.c
URL: http://svn.digium.com/view/zaptel/team/mogorman/zaptel-1.2-transcoder/ztcodec_dte/base.c?view=diff&rev=1849&r1=1848&r2=1849
==============================================================================
--- team/mogorman/zaptel-1.2-transcoder/ztcodec_dte/base.c (original)
+++ team/mogorman/zaptel-1.2-transcoder/ztcodec_dte/base.c Thu Jan 18 14:15:48 2007
@@ -609,14 +609,14 @@
 			   0x00,
 			   0x00,
 			   0x00,					 
-			 ((test_seqno) >> 8)              & 0xFF, // Sequence number
+			 ((test_seqno) >> 8)              & 0xFF, /* Sequence number */
 			  (test_seqno)                    & 0xFF,
-			 ((test_timestamp) >> 24)         & 0xFF, // JRSTEST: This needs to be checked
-			 ((test_timestamp) >> 16)         & 0xFF, // JRSTEST: This needs to be checked
-			 ((test_timestamp) >> 8)          & 0xFF, // JRSTEST: This needs to be checked
-			  (test_timestamp)                & 0xFF); // JRSTEST: This needs to be checked
-
-		ipchksum = 0x9869 + (fifo[14+2*1] << 8) + fifo[15+2*1] + (fifo[14+2*2] << 8) + fifo[15+2*2];		// JRSETST: remove  add/mults
+			 ((test_timestamp) >> 24)         & 0xFF,
+			 ((test_timestamp) >> 16)         & 0xFF,
+			 ((test_timestamp) >> 8)          & 0xFF,
+			  (test_timestamp)                & 0xFF);
+
+		ipchksum = 0x9869 + (fifo[14+2*1] << 8) + fifo[15+2*1] + (fifo[14+2*2] << 8) + fifo[15+2*2];
 		while (ipchksum >> 16)
 			ipchksum = (ipchksum & 0xFFFF) + (ipchksum >> 16);
 		ipchksum = (~ipchksum) & 0xFFFF;



More information about the zaptel-commits mailing list