[Mplayer-cvslog] CVS: main/DOCS/tech mpcf.txt,1.2,1.3
Michael Niedermayer CVS
michael at mplayerhq.hu
Thu Feb 6 18:46:46 CET 2003
Update of /cvsroot/mplayer/main/DOCS/tech
In directory mail:/var/tmp.root/cvs-serv12457
Modified Files:
mpcf.txt
Log Message:
removing startcode emulation prevention, its nonsense ...
Index: mpcf.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mpcf.txt 6 Feb 2003 17:19:09 -0000 1.2
+++ mpcf.txt 6 Feb 2003 17:46:23 -0000 1.3
@@ -22,8 +22,6 @@
headers & index can be repeated
audio packet reshuffle
checksums to allow quick redownloading of damaged parts
- gurantees that no mpeg startcode prefixes occur in the headers with the
- exception of codec specific headers (really?)
@@ -51,10 +49,6 @@
string[i] u(8)
}
zero_byte f(8)
-Note: the string MUST not be 0 bytes long (only a zero byte coded), instead
- {'?', 0} should be used instead, this is done to avoid emulating
- startcode prefixes (if we allow 0 then there could be 0,0,1 which
- is a startcode prefix in mpeg)
f(x) n fixed bits
u(x) unsigned number encoded in x bits in MSB first order
@@ -262,7 +256,6 @@
checksum
crc32 checksum using the generator polynomial=0x04c11db7 (same as ogg)
- bit 23 is forced to 1 to avoid MPEG startcode emulation
checksum_flag
indicates that the frame_checksum is coded
More information about the MPlayer-cvslog
mailing list