[FFmpeg-devel] [PATCH] lavu/eval: add ifzero() and ifnonzero() expression

Nicolas George nicolas.george at normalesup.org
Mon Jan 16 15:01:50 CET 2012


Le septidi 27 nivôse, an CCXX, Stefano Sabatini a écrit :
> It may complicate the code in eval.c (infix notation is *evil*), but

This is flamebait. Can we agree on that at least: infix notation is evil for
those who implement, those who do theory and those who want to manipulate
expressions automatically, but they are much simpler for simple users who
want to write simple expressions.

> I'm not against it, just I ask, is this related to the patch?

It is loosely related since "ifzero(x)" could be just written "x==0", but
"Un tien vaut, ce dit-on, mieux que deux tu l’auras"
(sorry, no translation), so this is not an objection to the patch, unless
someone (not me!) can submit a rewrite of eval.c in the next few minutes.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list