# HG changeset patch # User michael # Date 1163180821 0 # Node ID 684313be54f6aea4a942836d8c07b56ce4b3574e # Parent ac142b1ac1cd9b62d6c63652994f233caf3171fb stream_count a few more words for forward_ptr and file_id_string diff -r ac142b1ac1cd -r 684313be54f6 DOCS/tech/nut.txt --- 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