[Mplayer-cvslog] CVS: main/DOCS/tech mpcf.txt,1.30,1.31
Michael Niedermayer CVS
michael at mplayerhq.hu
Sat Sep 6 15:21:34 CEST 2003
Update of /cvsroot/mplayer/main/DOCS/tech
In directory mail:/var/tmp.root/cvs-serv19652
Modified Files:
mpcf.txt
Log Message:
reserved_bytes & byte order stuff
Index: mpcf.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- mpcf.txt 5 Sep 2003 18:45:12 -0000 1.30
+++ mpcf.txt 6 Sep 2003 13:21:08 -0000 1.31
@@ -60,7 +60,7 @@
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 @@
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)
More information about the MPlayer-cvslog
mailing list