diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-10-05 12:06:30 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-10-05 12:06:30 +0000 |
commit | 5b0ca20b8a3835092ca49368b4d3f70e80b89eb1 (patch) | |
tree | d3dd65f2857283eae2ec216f4a1102ad72b26446 /DOCS/tech | |
parent | a155a39028328b691c52bf0c897f3541f612fc63 (diff) | |
download | mpv-5b0ca20b8a3835092ca49368b4d3f70e80b89eb1.tar.bz2 mpv-5b0ca20b8a3835092ca49368b4d3f70e80b89eb1.tar.xz |
remove short startcodes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13561 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/tech')
-rw-r--r-- | DOCS/tech/mncf.txt | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/DOCS/tech/mncf.txt b/DOCS/tech/mncf.txt index 5afb1045be..023290a7ca 100644 --- a/DOCS/tech/mncf.txt +++ b/DOCS/tech/mncf.txt @@ -89,10 +89,8 @@ main header: 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 @@ file 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 @@ max_distance 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 |