# HG changeset patch # User michael # Date 1163011208 0 # Node ID 05159ef5282ee73f45e9e0255c3c885c50d1f1d4 # Parent eb2c12485aaccdf74af2b115f6948f57c92d00f0 clearer frame_code explanation diff -r eb2c12485aac -r 05159ef5282e DOCS/tech/nut.txt --- a/DOCS/tech/nut.txt Wed Nov 08 18:36:46 2006 +0000 +++ b/DOCS/tech/nut.txt Wed Nov 08 18:40:08 2006 +0000 @@ -548,7 +548,11 @@ (with 00 00 01 prefixes) frame_code - the meaning of this byte is stored in the main header + frame_code is a 8bit field which exists before every frame, it can + store part of the size of the frame, the stream number, the timestamp + and some flags amongth other things, what is not directly stored + in it but is needed is stored in various fields immedeatly after it + the values stored in it can be found in the main header the value 78 ('N') is forbidden to ensure that the byte is always different from the first byte of any startcode a muxer SHOULD mark 0x00 and 0xFF as invalid to improve error