[FFmpeg-devel] [PATCH] yadif: correct parity docs

Michael Niedermayer michaelni at gmx.at
Thu Aug 4 15:34:26 CEST 2011

On Thu, Aug 04, 2011 at 12:34:23AM +0200, Stefano Sabatini wrote:
> On date Thursday 2011-08-04 00:29:17 +0200, Stefano Sabatini encoded:
> > The documentation for the parity field was inverted.
> > 
> > Fix trac issue #380.
> Looks correct (without a deep knowledge of the yadif code itself),
> e.g. from the line:
>         tff = yadif->parity^1;
> Btw why the use of ^1 instead of a simple !yadif->parity?

the thought was probably that the other bits could be used for other
things one day

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110804/e1697a47/attachment.asc>

More information about the ffmpeg-devel mailing list