[NUT-devel] r22192 - trunk/DOCS/tech/nut.txt

michael subversion at mplayerhq.hu
Sat Feb 10 18:00:03 CET 2007


Author: michael
Date: Sat Feb 10 18:00:03 2007
New Revision: 22192

Modified:
   trunk/DOCS/tech/nut.txt

Log:
clarify description of reserved_count in frame header patch by (Clemens Ladisch cladisch,fastmail,net)


Modified: trunk/DOCS/tech/nut.txt
==============================================================================
--- trunk/DOCS/tech/nut.txt	(original)
+++ trunk/DOCS/tech/nut.txt	Sat Feb 10 18:00:03 2007
@@ -301,6 +301,7 @@
 frame:
     frame_code                          f(8)
     frame_flags= flags[frame_code]
+    frame_res= reserved_count[frame_code]
     if(frame_flags&FLAG_CODED){
         coded_flags                     v
         frame_flags ^= coded_flags
@@ -315,8 +316,8 @@
         data_size_msb                   v
     }
     if(frame_flags&FLAG_RESERVED)
-        reserved_count[frame_code]      v
-    for(i=0; i<reserved_count[frame_code]; i++)
+        frame_res                       v
+    for(i=0; i<frame_res; i++)
         reserved                        v
     if(frame_flags&FLAG_CHECKSUM){
         checksum                        u(32)



More information about the NUT-devel mailing list