cosmetic, move stuff around

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17846 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ods15 2006-03-13 06:50:55 +00:00
parent f65a309656
commit 3067cc21c7
1 changed files with 20 additions and 20 deletions

View File

@ -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){