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

Stefano Sabatini stefasab at gmail.com
Mon Jan 16 12:20:57 CET 2012


On date Monday 2012-01-16 10:43:57 +0100, Nicolas George encoded:
> Le sextidi 26 nivôse, an CCXX, Stefano Sabatini a écrit :
> > They allow to implement the if/then/else logic, which cannot be
> > implemented otherwise.
> 

> I am sorry if I am putting my feet on it, but wouldn't it be better, in the
> long run and from the user's point of view, to rework the expression parser
> to make it understand the standard notations: ==, !=, <, >, <=, >=, ||, &&,
> !, ? :, etc.?

It may complicate the code in eval.c (infix notation is *evil*), but
I'm not against it, just I ask, is this related to the patch?

[...]
-- 
FFmpeg = Fast and Fascinating Martial Purposeless Exploitable Glue


More information about the ffmpeg-devel mailing list