[FFmpeg-cvslog] eval: add missing comma to tests.

Ronald S. Bultje git at videolan.org
Thu Jul 7 00:15:06 CEST 2011


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Tue Jul  5 18:11:32 2011 -0700| [dfd8116986a30e312a27269fbac702e885e0e673] | committer: Ronald S. Bultje

eval: add missing comma to tests.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dfd8116986a30e312a27269fbac702e885e0e673
---

 libavutil/eval.c    |    2 +-
 tests/ref/fate/eval |    7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/libavutil/eval.c b/libavutil/eval.c
index 9bc40c1..6d9b8e4 100644
--- a/libavutil/eval.c
+++ b/libavutil/eval.c
@@ -559,7 +559,7 @@ int main(int argc, char **argv)
         "-PI",
         "+PI",
         "1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)",
-        "80G/80Gi"
+        "80G/80Gi",
         "1k",
         "1Gi",
         "1gi",
diff --git a/tests/ref/fate/eval b/tests/ref/fate/eval
index fb7a925..ad01891 100644
--- a/tests/ref/fate/eval
+++ b/tests/ref/fate/eval
@@ -16,8 +16,11 @@ Evaluating '+PI'
 Evaluating '1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)'
 '1+(5-2)^(3-1)+1/2+sin(PI)-max(-2.2,-3.1)' -> 12.700000
 
-Evaluating '80G/80Gi1k'
-'80G/80Gi1k' -> nan
+Evaluating '80G/80Gi'
+'80G/80Gi' -> 0.931323
+
+Evaluating '1k'
+'1k' -> 1000.000000
 
 Evaluating '1Gi'
 '1Gi' -> 1073741824.000000



More information about the ffmpeg-cvslog mailing list