[FFmpeg-devel] [PATCH] libavcodec/mpegvideo_xvmc.c: simplify expression

Michael Niedermayer michaelni
Tue Nov 9 14:00:54 CET 2010


On Fri, Nov 05, 2010 at 09:22:13PM +0100, Nicolas Kaiser wrote:
> Hi there!
> 
> I noticed an expression that can be simplified like:
>  (a || (!a && !b)) => (a || !b)
> 
> Best regards,
> Nicolas Kaiser
> ---
>  libavcodec/mpegvideo_xvmc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

lgtm

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

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101109/72ce960e/attachment.pgp>



More information about the ffmpeg-devel mailing list