summaryrefslogtreecommitdiffstats
path: root/DOCS/tech
diff options
context:
space:
mode:
authorods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-13 06:50:55 +0000
committerods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-13 06:50:55 +0000
commit3067cc21c753924a181e0c04fd85e8575065dddb (patch)
tree4c9735a0c40b78a14e25a348b53a907f7eb6a7f9 /DOCS/tech
parentf65a309656a50d747775d91136a9f3e609b2a407 (diff)
downloadmpv-3067cc21c753924a181e0c04fd85e8575065dddb.tar.bz2
mpv-3067cc21c753924a181e0c04fd85e8575065dddb.tar.xz
cosmetic, move stuff around
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17846 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/tech')
-rw-r--r--DOCS/tech/mpcf.txt40
1 files changed, 20 insertions, 20 deletions
diff --git a/DOCS/tech/mpcf.txt b/DOCS/tech/mpcf.txt
index 677eba1d44..f58597d1d1 100644
--- a/DOCS/tech/mpcf.txt
+++ b/DOCS/tech/mpcf.txt
@@ -125,6 +125,26 @@ reserved_bytes:
impossible to add new fields at the end of packets in the future
in a compatible way]
+packet_header
+ startcode f(64)
+ forward_ptr v
+ if(forward_ptr > 4096)
+ header_checksum u(32)
+
+packet_footer
+ reserved_bytes
+ checksum u(32)
+
+reserved_headers
+ while(next_byte == 'N' && next_code != main_startcode
+ && next_code != stream_startcode
+ && next_code != info_startcode
+ && next_code != index_startcode
+ && next_code != syncpoint_startcode){
+ packet_header
+ packet_footer
+ }
+
Headers:
main header:
@@ -313,26 +333,6 @@ demuxers should be flexible and be able to deal with damaged headers so the
above is a better loop in practice (not to mention its simpler)
note, demuxers MUST be able to deal with new and unknown headers
-packet_header
- startcode f(64)
- forward_ptr v
- if(forward_ptr > 4096)
- header_checksum u(32)
-
-packet_footer
- reserved_bytes
- checksum u(32)
-
-reserved_headers
- while(next_byte == 'N' && next_code != main_startcode
- && next_code != stream_startcode
- && next_code != info_startcode
- && next_code != index_startcode
- && next_code != syncpoint_startcode){
- packet_header
- packet_footer
- }
-
file:
file_id_string
while(!eof){