# HG changeset patch # User michael # Date 1081817387 0 # Node ID 17667db616d37ff0896ec56966d5f79ed597651a # Parent 6bf35678182c8a5df4dc04b498984ecdd83caf28 (de)coder -> (de)muxer some clarifications diff -r 6bf35678182c -r 17667db616d3 DOCS/tech/mpcf.txt --- a/DOCS/tech/mpcf.txt Tue Apr 13 00:12:03 2004 +0000 +++ b/DOCS/tech/mpcf.txt Tue Apr 13 00:49:47 2004 +0000 @@ -78,8 +78,8 @@ reserved_bytes for(i=0; i no keyframe, @@ -368,12 +369,14 @@ if(data_size_lsb == data_size_mul) data_size= last; else if(data_size_lsb == data_size_mul+1) - data_size= next last; + data_size= next_last; else if(data_size_lsb < data_size_mul) data_size= data_size_lsb + data_size_msb*data_size_mul; else reserved - last and next last are reset to the values stored in the stream header - if an frame with type > 0 is encountered + next_last is the second last unique data_size, for example: + previous data_size: 123,500,312,500,500 last=500, next_last=312 + last and next_last are reset to the initial_data_size_predictor values + stored in the stream header if an frame with type > 0 is encountered lsb_timestamp least significant bits of the timestamp in time_base precission @@ -519,7 +522,7 @@ for example, the current song title & artist of the currently shown music video Unknown packets -MUST be ignored by the decoder +MUST be ignored by the demuxer Sample code (GPL, & untested)