summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-01-23 19:05:54 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-01-24 12:19:02 +0100
commit2b207bab196d40ca358b48ef9b85fd703417d343 (patch)
tree4493be549daf4e295e1dde43e2846e99e526f5d6
parent2ed0803c6c994c540bdf0849473e1baaad6af511 (diff)
downloadffmpeg-2b207bab196d40ca358b48ef9b85fd703417d343.tar.gz
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.
-rw-r--r--doc/eval.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/eval.texi b/doc/eval.texi
index f691821d1a..1bc30f3d9c 100644
--- a/doc/eval.texi
+++ b/doc/eval.texi
@@ -196,13 +196,13 @@ value, note that:
@code{+} works like OR
-and the construct:
+For example the construct:
@example
-if A then B else C
+if (A AND B) then C
@end example
-is equivalent to
+is equivalent to:
@example
-if(A,B) + ifnot(A,C)
+if(A*B, C)
@end example
In your C code, you can extend the list of unary and binary functions,