[FFmpeg-devel] [PATCH] doc/eval: substitute if/then/else construct with an example making use of boolean expression composition
Michael Niedermayer
michaelni at gmx.at
Wed Jan 23 19:30:43 CET 2013
On Wed, Jan 23, 2013 at 07:18:55PM +0100, Stefano Sabatini wrote:
> Since the if/then/else construct is now supported natively, showing how
> to compose such a construct from basic primitives is misleading.
> ---
> doc/eval.texi | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/doc/eval.texi b/doc/eval.texi
> index 414c3d8..ea7ea43 100644
> --- a/doc/eval.texi
> +++ b/doc/eval.texi
> @@ -203,13 +203,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
i think examples should only be valid expressions in the eval
syntax
the patch LGTM though
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130123/9f7ba480/attachment.asc>
More information about the ffmpeg-devel
mailing list