[Mplayer-cvslog] CVS: main/DOCS/tech mpcf.txt,1.4,1.5
Michael Niedermayer CVS
michael at mplayerhq.hu
Thu Feb 6 21:19:17 CET 2003
Update of /cvsroot/mplayer/main/DOCS/tech
In directory mail:/var/tmp.root/cvs-serv18122
Modified Files:
mpcf.txt
Log Message:
remove non byte sized stuff
remove more useless startcode emulation prevention stuff
Index: mpcf.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/mpcf.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mpcf.txt 6 Feb 2003 18:03:11 -0000 1.4
+++ mpcf.txt 6 Feb 2003 20:18:59 -0000 1.5
@@ -42,7 +42,6 @@
data u(7)
value= 128*value + data
}while(more_data)
- value-=4
sz (zero terminated string)
for(i=0; next_byte != 0; i++){
@@ -124,12 +123,12 @@
if(keyframe){
keyframe_startcode f(64)
}
- lsb_timestamp u(lsb_timestamp_length)
- stream_id u(log2_stream_count)
+ lsb_timestamp v
+ stream_id v
priority u(2)
checksum_flag u(1)
msb_timestamp_flag u(1)
- align_byte
+ reserved u(4)
if(msb_timestamp_flag)
msb_timestamp v
bitstream
@@ -353,13 +352,12 @@
if(tmp&0x80)
val= (val<<7) + tmp - 0x80;
else
- return (val<<7) + tmp - 4;
+ return (val<<7) + tmp;
}
}
static inline void put_v(BufferContext *bc, uint64_t val){
int i;
- val+=4;
assert(val);
More information about the MPlayer-cvslog
mailing list