From 8bb12e71aff29e5bd27d1ad32deb5c30e63c76ae Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 1 Nov 2010 09:34:15 +0000 Subject: [PATCH] Add examples of unary operators. Originally committed as revision 25624 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/eval.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavutil/eval.c b/libavutil/eval.c index c1a0539ecd..6b5f39c1ce 100644 --- a/libavutil/eval.c +++ b/libavutil/eval.c @@ -535,6 +535,9 @@ int main(void) const char **expr, *exprs[] = { "", "1;2", + "-20", + "-PI", + "+PI", "1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)", "80G/80Gi" "1k",