changeset 20922:e53110c2d071

revert last 2 commits on nut.txt
author ods15
date Wed, 15 Nov 2006 00:12:39 +0000
parents b22dfe3ddfaa
children 40a2ec4a49ff
files DOCS/tech/nut.txt
diffstat 1 files changed, 6 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/tech/nut.txt	Tue Nov 14 22:48:53 2006 +0000
+++ b/DOCS/tech/nut.txt	Wed Nov 15 00:12:39 2006 +0000
@@ -1,5 +1,5 @@
 ==================================
-NUT Open Container Format 20061114
+NUT Open Container Format 20061104
 ==================================
 
 
@@ -187,15 +187,11 @@
             packet_header, index_packet, packet_footer
         }
         if (!eof) while(next_code != main_startcode){
-            packet_header, syncpoint, packet_footer
-            do{
-                frame
-            }while(next_code == framecode);
+            if(next_code == syncpoint_startcode){
+                packet_header, syncpoint, packet_footer
+            }
+            frame
             reserved_headers
-            while(next_code == info_startcode){
-                packet_header, info_packet, packet_footer
-                reserved_headers
-            }
         }
     }
 
@@ -887,15 +883,9 @@
 Info:
 -----
 
-All info packets stored after a main header set MUST also have an identical
+If a info packet is stored anywhere then a muxer MUST also store an identical
 info packet after every main-stream-header set
 
-All info packets not stored after a main header set MUST have
-chapter_id!=0 .
-
-Info packets SHOULD be written after main header sets in non realtime
-streams.
-
 If a demuxer has seen several info packets with the same chapter_id and
 stream_id then it MUST ignore all but the one with the highest position in
 the file