[FFmpeg-devel] [PATCH] PIX_FMT_MONOWHITE

Michael Niedermayer michaelni
Tue Jun 19 19:00:00 CEST 2007


Hi

On Tue, Jun 19, 2007 at 02:59:43PM +0200, Michel Bardiaux wrote:
> Michael Niedermayer wrote:
> >Hi
> >
> >On Thu, May 03, 2007 at 02:42:57PM +0200, Michel Bardiaux wrote:
> >>avutil.h says:
> >>
> >>     PIX_FMT_MONOWHITE, ///<        Y        ,  1bpp, 1 is white
> >>     PIX_FMT_MONOBLACK, ///<        Y        ,  1bpp, 0 is black
> >>
> >>That cant be right. Its probably "1 is black" as in MONOBACK(ONWHITE), 
> >>but I would like independent confirmation before a patch.
> >
> >i think the comment for PIX_FMT_MONOWHITE is wrong but i could be wrong
> >i didnt check
> >only thing certain is that one of them is wrong ...
> >
> According to my experiments, Michael is correct, hence the patch.

patch looks ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070619/08d185b8/attachment.pgp>



More information about the ffmpeg-devel mailing list