changeset 20822:684313be54f6

stream_count a few more words for forward_ptr and file_id_string
author michael
date Fri, 10 Nov 2006 17:47:01 +0000
parents ac142b1ac1cd
children 507efc9b161b
files DOCS/tech/nut.txt
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/tech/nut.txt	Fri Nov 10 16:42:04 2006 +0000
+++ b/DOCS/tech/nut.txt	Fri Nov 10 17:47:01 2006 +0000
@@ -401,6 +401,8 @@
 
 file_id_string
     "nut/multimedia container\0"
+    the very first thing in every nut file, usefull for identifying nut
+    files
 
 *_startcode
     all startcodes start with 'N'
@@ -423,9 +425,15 @@
 version
     NUT version. The current value is 3. All lower values are pre-freeze
 
+stream_count
+    number of streams in this file
+
 forward_ptr
     size of the packet data (exactly the distance from the first byte
     after the packet_header to the first byte of the next packet)
+    every nut packet contains a forward_ptr immedeatly after its startcode
+    with the exception of frame_code based packets, the forward pointer
+    can be used to skip over the packet without decoding its contents
 
 max_distance
     max distance between startcodes. If p1 and p2 are the byte