diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-06 13:21:08 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-06 13:21:08 +0000 |
commit | 04b4ce875bd012157cdad83840ce0d957c5b8cf3 (patch) | |
tree | e7883c232dfd73ef1a796f5c718ebeb9c714a506 /DOCS/tech/mpcf.txt | |
parent | a79caf17d6ef7d437159c1568b429f1594b629df (diff) |
reserved_bytes & byte order stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10825 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/tech/mpcf.txt')
-rw-r--r-- | DOCS/tech/mpcf.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/DOCS/tech/mpcf.txt b/DOCS/tech/mpcf.txt index 63fbfc0a30..0c09ff4075 100644 --- a/DOCS/tech/mpcf.txt +++ b/DOCS/tech/mpcf.txt @@ -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) |