Mercurial > mplayer.hg
changeset 17584:187260c06b4f
Add syncpoint_checksum after frame header
author | ods15 |
---|---|
date | Sat, 11 Feb 2006 09:51:08 +0000 |
parents | f4dacb3d428a |
children | 03829916a1c3 |
files | DOCS/tech/mpcf.txt |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/tech/mpcf.txt Fri Feb 10 22:28:32 2006 +0000 +++ b/DOCS/tech/mpcf.txt Sat Feb 11 09:51:08 2006 +0000 @@ -219,6 +219,9 @@ } for(i=0; i<reserved_count[frame_code]; i++) reserved v + if (after_syncpoint){ + syncpoint_checksum u(32) + } data index: @@ -558,6 +561,11 @@ including the checksum itself (from first byte after the forward_ptr until last byte before the checksum). +syncpoint_checksum + crc32 checksum + checksum covers from first byte after syncpoint startcode until last + byte before the syncpoint_checksum. + back_ptr_div8 back_ptr = back_ptr_div8 * 8 + 7 back_ptr must point to a position within 8 bytes of a syncpoint