From 5b0ca20b8a3835092ca49368b4d3f70e80b89eb1 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 5 Oct 2004 12:06:30 +0000 Subject: remove short startcodes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13561 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/tech/mncf.txt | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'DOCS') 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 -- cgit v1.2.3