[MPlayer-dev-eng] [PATCH] resubmit realv4.diff

Michael Niedermayer michaelni at gmx.at
Fri Mar 7 13:30:24 CET 2003


Hi

On Friday 07 March 2003 11:08, Arpi wrote:
> Hi,
>
> > Also this:
> > -			    if(dp_data[dp_hdr->len]&0x20) --dp_hdr->chunks; else
> > +			    if((dp_data[dp_hdr->len]&0x20) && (sh_video->format!=0x30345652))
> > --dp_hdr->chunks; else
> >
> > to fix rv40 frames cut in the middle.
>
> imho it's bad fix.
> if they are cut in middle, it means that rv40 stores number_of_chunks/4
> in header byte (probably to allow up to 4*64==256 slices) instead of
> number_of_chunks/2 like in rv20/rv30.
hmm, iam quite confused now ...
the byte which is checked there seems to be the one where pict_type is stored 
and indeed 0x20 is part of the pict type in RV40 is P & B frames with more 
then 1 slice will be cut or so, but i dont even understand what this check 
does exactly, it is only true 3 times in all rm files i have on my HD (not 
many though ...)

[...]

Michael


More information about the MPlayer-dev-eng mailing list