[MPlayer-cvslog] CVS: main/DOCS/tech mpcf.txt,1.98,1.99

Oded Shimon CVS syncmail at mplayerhq.hu
Tue Feb 7 05:03:13 CET 2006


CVS change done by Oded Shimon CVS

Update of /cvsroot/mplayer/main/DOCS/tech
In directory mail:/var2/tmp/cvs-serv15155/DOCS/tech

Modified Files:
	mpcf.txt 
Log Message:
Allow headers to be repeated anywhere


Index: mpcf.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- mpcf.txt	4 Feb 2006 08:54:31 -0000	1.98
+++ mpcf.txt	7 Feb 2006 04:03:11 -0000	1.99
@@ -1,5 +1,5 @@
 ========================================
-NUT Open Container Format DRAFT 20060203
+NUT Open Container Format DRAFT 20060207
 ========================================
 
 
@@ -680,10 +680,15 @@
 
 headers may be repeated, but if they are, then they MUST all be repeated
 together and repeated headers MUST be identical
-headers MAY only repeat at the closest possible positions after 2^x where x is
+
+Each set of repeated headers not at the beginning or end of the file SHOULD
+be stored at the earliest possible position after 2^x where x is
 an integer and the file end, so the headers may be repeated at 4102 if that is
 the closest position after 2^12=4096 at which the headers can be placed
 
+Note: this allows an implementation reading the file to locate backup
+headers in O(log filesize) time as opposed to O(filesize)
+
 headers MUST be placed at least at the start of the file and immediately before
 the index or at the file end if there is no index
 headers MUST be repeated at least twice (so they exist three times in a file)




More information about the MPlayer-cvslog mailing list