From b4e3e2b7d8230437e2be3ac9042d167259b725fa Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 18 Mar 2006 12:13:48 +0000 Subject: flags cleanup git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17888 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/tech/mpcf.txt | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'DOCS') diff --git a/DOCS/tech/mpcf.txt b/DOCS/tech/mpcf.txt index a6cd7304e8..72f4c8fc3b 100644 --- a/DOCS/tech/mpcf.txt +++ b/DOCS/tech/mpcf.txt @@ -182,7 +182,7 @@ main header: continue; } flags[i]= tmp_flag; - stream_id_plus1[i]= tmp_stream; + stream_id[i]= tmp_stream; data_size_mul[i]= tmp_mul; data_size_lsb[i]= tmp_size + j; pts_delta[i]= tmp_pts; @@ -217,20 +217,22 @@ stream_header: frame: frame_code f(8) - if(stream_id_plus1[frame_code]==0){ - stream_id v - } - if(pts_delta[frame_code]==0){ - coded_pts v - } frame_flags= flags[frame_code] if(frame_flags&FLAG_CODED){ coded_flags v frame_flags ^= coded_flags } + if(frame_flags&FLAG_STREAM_ID){ + stream_id v + } + if(frame_flags&FLAG_CODED_PTS){ + coded_pts v + } if(frame_flags&FLAG_SIZE_MSB){ data_size_msb v } + if(frame_flags&FLAG_RESERVED) + reserved_count[frame_code] v for(i=0; i