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

ivo subversion at mplayerhq.hu
Thu Nov 30 22:59:56 CET 2006


Author: ivo
Date: Thu Nov 30 22:59:55 2006
New Revision: 21405

Modified:
   trunk/DOCS/tech/nut.txt

Log:
move reserved_bytes out of packet_footer. this makes all packets uniform.



Modified: trunk/DOCS/tech/nut.txt
==============================================================================
--- trunk/DOCS/tech/nut.txt	(original)
+++ trunk/DOCS/tech/nut.txt	Thu Nov 30 22:59:55 2006
@@ -215,9 +215,7 @@
         header_checksum                 u(32)
 
 packet_footer
-    reserved_bytes
     checksum                            u(32)
-    [Note: in index packet, reserved_bytes comes before index_ptr]
 
 reserved_headers
     while(next_byte == 'N' && next_code !=      main_startcode
@@ -226,6 +224,7 @@
                            && next_code !=     index_startcode
                            && next_code != syncpoint_startcode){
         packet_header
+        reserved_bytes
         packet_footer
     }
 
@@ -272,6 +271,7 @@
             reserved_count[i]= tmp_res;
         }
     }
+    reserved_bytes
 
 stream_header:
     stream_id                           v
@@ -294,6 +294,7 @@
         samplerate_denom                v
         channel_count                   v
     }
+    reserved_bytes
 
         Basic Packets:
 
@@ -394,10 +395,12 @@
             type= "v"
         }
     }
+    reserved_bytes
 
 syncpoint:
     global_key_pts                      t
     back_ptr_div16                      v
+    reserved_bytes
 
             Complete definition:
 



More information about the NUT-devel mailing list