summaryrefslogtreecommitdiffstats
path: root/DOCS/tech/mncf.txt
diff options
context:
space:
mode:
Diffstat (limited to 'DOCS/tech/mncf.txt')
-rw-r--r--DOCS/tech/mncf.txt21
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