[MPlayer-cvslog] CVS: main/DOCS/tech mpcf.txt,1.102,1.103
Oded Shimon CVS
syncmail at mplayerhq.hu
Sat Feb 11 10:56:51 CET 2006
CVS change done by Oded Shimon CVS
Update of /cvsroot/mplayer/main/DOCS/tech
In directory mail:/var2/tmp/cvs-serv22239/DOCS/tech
Modified Files:
mpcf.txt
Log Message:
Put index_ptr within index to avoid it popping out of nowhere.
Index: mpcf.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- mpcf.txt 11 Feb 2006 09:51:08 -0000 1.102
+++ mpcf.txt 11 Feb 2006 09:56:49 -0000 1.103
@@ -265,6 +265,7 @@
}
}
reserved_bytes
+ index_ptr u(64)
checksum u(32)
info_frame: (optional)
@@ -325,9 +326,6 @@
frame
}
}
- if (has_index){
- index_ptr u(64)
- }
Tag description:
@@ -605,10 +603,11 @@
that EOR. EOR is unset by the first keyframe after it.
index_ptr
- Length in bytes from the first byte of the index startcode to the first
- byte of the index_ptr. If there is no index, index_ptr MUST NOT be
- written. If there are several indexes, index_ptr MUST point to the last
- index.
+ Length in bytes of the entire index, from the first byte of the
+ startcode until the last byte of the checksum.
+ Note: A demuxer can use this to find the index when it is written at
+ EOF, as index_ptr will always be 12 bytes before the end of file if
+ there is an index at all.
id
the ID of the type/name pair, so it is more compact
More information about the MPlayer-cvslog
mailing list