aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-02-11 09:56:49 +0000
committerGravatar ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-02-11 09:56:49 +0000
commit8d1e356de17d602ee2a2388f63f8d93346cc8711 (patch)
treeea4b590ec40705819122dfb82bac1b52c5269593
parent3271803e222989d910ebc862030d2852b875ebcd (diff)
Put index_ptr within index to avoid it popping out of nowhere.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17586 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--DOCS/tech/mpcf.txt13
1 files changed, 6 insertions, 7 deletions
diff --git a/DOCS/tech/mpcf.txt b/DOCS/tech/mpcf.txt
index 6ce7e6cb07..49b919c6b9 100644
--- a/DOCS/tech/mpcf.txt
+++ b/DOCS/tech/mpcf.txt
@@ -265,6 +265,7 @@ index:
}
}
reserved_bytes
+ index_ptr u(64)
checksum u(32)
info_frame: (optional)
@@ -325,9 +326,6 @@ file:
frame
}
}
- if (has_index){
- index_ptr u(64)
- }
Tag description:
@@ -605,10 +603,11 @@ eor_pts
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