reserved_bytes & byte order stuff

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10825 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2003-09-06 13:21:08 +00:00
parent a79caf17d6
commit 04b4ce875b
1 changed files with 6 additions and 2 deletions

View File

@ -60,7 +60,7 @@ b (binary data or string)
Note: strings MUST be encoded in utf8
f(x) n fixed bits
f(x) n fixed bits in big endian order
u(x) unsigned number encoded in x bits in MSB first order
@ -76,7 +76,11 @@ align_byte
reserved_bytes
for(i=0; i<forward_ptr - length_of_non_reserved; i++)
reserved u(8)
a decoder MUST ignore any reserved bytes
a encoder MUST NOT write any reserved bytes, as this would make it
inpossible to add new fields at the end of packets in the future in
a compatible way
main header:
packet header
main_startcode f(64)