diff eval.c @ 11604:6bab1bfac3bb libavcodec

Rename ff_parse_eval() to ff_eval_expr(). The new name expresses better what the function does.
author stefano
date Sun, 11 Apr 2010 22:32:01 +0000
parents da95280256b4
children 414a7cdaa54d
line wrap: on
line diff
--- a/eval.c	Sun Apr 11 20:04:15 2010 +0000
+++ b/eval.c	Sun Apr 11 22:32:01 2010 +0000
@@ -410,7 +410,7 @@
     return e;
 }
 
-double ff_parse_eval(AVExpr * e, const double *const_value, void *opaque) {
+double ff_eval_expr(AVExpr * e, const double *const_value, void *opaque) {
     Parser p;
 
     p.const_value= const_value;
@@ -425,7 +425,7 @@
     AVExpr * e = ff_parse(s, const_name, func1, func1_name, func2, func2_name, error);
     double d;
     if (!e) return NAN;
-    d = ff_parse_eval(e, const_value, opaque);
+    d = ff_eval_expr(e, const_value, opaque);
     ff_free_expr(e);
     return d;
 }