mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
3271803e22
commit
8d1e356de1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue