[MPlayer-dev-eng] [PATCH]Do not use "64" to describe non 64bit image formats

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Feb 8 00:18:31 CET 2012


Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

> > -    if (out_format & 64 && (IMGFMT_IS_RGB(out_format) || 
> > IMGFMT_IS_BGR(out_format))) {
> > -      out_format &= ~64;
> > +    if (out_format & 128 && (IMGFMT_IS_RGB(out_format) || 
> > IMGFMT_IS_BGR(out_format))) {
> 
> That must be
> if (out_format == (IMGFMT_BGR32 | 128) || out_fmt == (IMGFMT_RGB32 | 128))

Tested with ssh -Y and applied.

Thank you, Carl Eugen



More information about the MPlayer-dev-eng mailing list