[NUT-devel] Incomplete description of checksum algorithm

Alexander Strasser eclipse7 at gmx.net
Wed Feb 15 23:19:41 CET 2006


Hi,

  the checksum definition in the current spec seems
incomplete or unprecise to me. 
  I have prepared the following patch to complement
Oded's last change. It is based on the last discussion
of the subject on mplayer-dev-eng.

  It is just a suggestion.

  Alex (beastd)
-------------- next part --------------
Index: DOCS/tech/mpcf.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
retrieving revision 1.105
diff -u -r1.105 mpcf.txt
--- DOCS/tech/mpcf.txt	13 Feb 2006 07:29:11 -0000	1.105
+++ DOCS/tech/mpcf.txt	15 Feb 2006 22:15:36 -0000
@@ -557,6 +557,10 @@
 samplerate_nom / samplerate_denom = samplerate
     the number of samples per second
 
+crc32 checksum
+    The 32-bit value of a Cyclic Redundancy Check algorithm with generator
+    polynomial G being 0x04C11DB7.
+
 checksum
     crc32 checksum
     checksum is calculated for the area pointed to by forward_ptr not


More information about the NUT-devel mailing list