[MPlayer-dev-eng] FFMpeg codecs

Roberto Togni r_togni at tiscali.it
Mon Nov 10 01:01:55 CET 2003


On 2003.11.09 14:04, Arpi wrote:
> Hi,
>
[...]
> 
> So feel free to set them as default.
> 
> > +    /* Pass palette to codec */
> > +#if LIBAVCODEC_BUILD >= 4691
> > +    if (sh->bih && (sh->bih->biBitCount <= 8) &&
> > +	   (lavc_codec->id == CODEC_ID_8BPS ||
> > +	    lavc_codec->id == CODEC_ID_MSRLE ||
> > +	    lavc_codec->id == CODEC_ID_MSVIDEO1))
> > +	    {
> 
> I dont like this, you shouldnt test for codec id, it's nonsence.
> It must be enough to test the bitcount only.
>
Committed with your suggestions.

Can someone with a bigendian system please test them?
> 
> A'rpi / Astral & ESP-team
>
Ciao,
 Roberto



More information about the MPlayer-dev-eng mailing list