diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-06 20:18:59 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-02-06 20:18:59 +0000 |
commit | af78689681a7d664b5e1ddb2e3c4ac5da5cb19f1 (patch) | |
tree | 508e48a308be34e8e3f7c9f0264d07f5719f3076 | |
parent | 41144130055c519fbdf97ca9ee21b0742837829c (diff) |
remove non byte sized stuff
remove more useless startcode emulation prevention stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9300 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | DOCS/tech/mpcf.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/DOCS/tech/mpcf.txt b/DOCS/tech/mpcf.txt index c3a6b25ad8..0bbe649327 100644 --- a/DOCS/tech/mpcf.txt +++ b/DOCS/tech/mpcf.txt @@ -42,7 +42,6 @@ v 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 @@ frame 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 @@ static inline uint64_t get_v(BufferContext *bc){ 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); |