mirror of https://git.ffmpeg.org/ffmpeg.git
doc/eval: substitute if/then/else construct with an example making use of boolean expression composition
Since the if/then/else construct is now supported natively, showing how to compose such a construct from basic primitives is misleading.
This commit is contained in:
parent
2ed0803c6c
commit
2b207bab19
|
@ -196,13 +196,13 @@ value, note that:
|
||||||
|
|
||||||
@code{+} works like OR
|
@code{+} works like OR
|
||||||
|
|
||||||
and the construct:
|
For example the construct:
|
||||||
@example
|
@example
|
||||||
if A then B else C
|
if (A AND B) then C
|
||||||
@end example
|
@end example
|
||||||
is equivalent to
|
is equivalent to:
|
||||||
@example
|
@example
|
||||||
if(A,B) + ifnot(A,C)
|
if(A*B, C)
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
In your C code, you can extend the list of unary and binary functions,
|
In your C code, you can extend the list of unary and binary functions,
|
||||||
|
|
Loading…
Reference in New Issue