diff --git a/libavutil/eval.c b/libavutil/eval.c index f940e9a05b..5d202249f0 100644 --- a/libavutil/eval.c +++ b/libavutil/eval.c @@ -805,7 +805,7 @@ int main(int argc, char **argv) "squish(2)", "gauss(0.1)", "hypot(4,3)", - "gcd(30,55)*min(9,1)", + "gcd(30,55)*print(min(9,1))", NULL }; diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval index 91a8abf171..59e3fe40a4 100644 --- a/tests/ref/fate/eval +++ b/tests/ref/fate/eval @@ -247,8 +247,8 @@ Evaluating 'gauss(0.1)' Evaluating 'hypot(4,3)' 'hypot(4,3)' -> 5.000000 -Evaluating 'gcd(30,55)*min(9,1)' -'gcd(30,55)*min(9,1)' -> 5.000000 +Evaluating 'gcd(30,55)*print(min(9,1))' +'gcd(30,55)*print(min(9,1))' -> 5.000000 12.700000 == 12.7 0.931323 == 0.931322575