changeset 21389:deac3aacf67e

move reserved_bytes out of packet_footer. this makes all packets uniform.
author ivo
date Thu, 30 Nov 2006 21:59:55 +0000
parents be5f168e42ae
children fd1495e1538d
files DOCS/tech/nut.txt
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/tech/nut.txt	Thu Nov 30 17:55:00 2006 +0000
+++ b/DOCS/tech/nut.txt	Thu Nov 30 21:59:55 2006 +0000
@@ -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: