[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.45,1.46
Michael Niedermayer
michaelni at gmx.at
Wed Aug 28 23:56:36 CEST 2002
Hi
On Thursday 29 August 2002 00:07, Arpi wrote:
> Hi,
>
> > + if( sh->format == mmioFOURCC('R', 'V', '1', '0')
> > + || sh->format == mmioFOURCC('R', 'V', '1', '3')){
> > + unsigned int* extrahdr=(unsigned int*)(sh->bih+1);
> > + avctx->extradata_size= 8;
> > + avctx->extradata = malloc(avctx->extradata_size);
>
> hmm you could just do avctx->extradata = (sh->bih+1);
> it won't be free'd until decoding ends so no need to duplicate
hmm unsigned int and 64bit architectures ...
[...]
Michael
More information about the MPlayer-cvslog
mailing list