Mercurial > mplayer.hg
changeset 13560:ddb3c1da735b
remove short startcodes
author | michael |
---|---|
date | Tue, 05 Oct 2004 12:06:30 +0000 |
parents | dca22cffea19 |
children | 392d2690ad6a |
files | DOCS/tech/mncf.txt |
diffstat | 1 files changed, 1 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/tech/mncf.txt Tue Oct 05 12:04:56 2004 +0000 +++ b/DOCS/tech/mncf.txt Tue Oct 05 12:06:30 2004 +0000 @@ -89,10 +89,8 @@ version v stream_count v max_distance v - max_short_distance v global_time_base_nom v global_time_base_denom v - short_startcode v for(i=0; i<256; ){ tmp_flag v tmp_fields v @@ -218,9 +216,7 @@ if(next_code == info_startcode) info_packet else{ - if(next_code == short_startcode) - short_startcode u(24) - else if(next_code == frame_startcode) + if(next_code == frame_startcode) sync_point frame } @@ -265,21 +261,6 @@ reason to set it higher otherwise reasonable error recovery will be impossible -max_short_distance - max distance of short startcodes or frame_startcodes, the distance may - only be larger if there is only a single frame between the 2 - frame_startcodes/short startcodes this can be used by the demuxer to - detect damaged frame headers if the damage results in a too long chain - SHOULD be set to <=4096 or at least <=8192 unless there is a very good - reason to set it higher otherwise reasonable error recovery will be - impossible - - -short_startcode - MUST be 3 bytes long and MUST have 'N' as first byte, the second byte - MUST not be a printable uppercase letter / must not be within 65..90, - default is 0x4EFE79 - stream_id Note: streams with a lower relative class MUST have a lower relative id so a stream with class 0 MUST allways have a id which is lower then any