[NUT-devel] CVS: main/DOCS/tech mpcf.txt,1.147,1.148

Oded Shimon CVS syncmail at mplayerhq.hu
Mon Mar 13 07:50:57 CET 2006


CVS change done by Oded Shimon CVS

Update of /cvsroot/mplayer/main/DOCS/tech
In directory mail:/var2/tmp/cvs-serv4271/DOCS/tech

Modified Files:
	mpcf.txt 
Log Message:
cosmetic, move stuff around


Index: mpcf.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -r1.147 -r1.148
--- mpcf.txt	12 Mar 2006 20:44:22 -0000	1.147
+++ mpcf.txt	13 Mar 2006 06:50:55 -0000	1.148
@@ -125,6 +125,26 @@
     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 @@
 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){




More information about the NUT-devel mailing list