From 1235429c2792e879d50a06cc851f3065f1a481d5 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 12 Apr 2010 19:21:15 +0000 Subject: Rename ff_parse() to ff_parse_expr(). The new name is more expressive and fits better in the overall naming scheme for the revisited eval API. Originally committed as revision 22858 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/eval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/eval.c') diff --git a/libavcodec/eval.c b/libavcodec/eval.c index 1c7f4a4976..1dd2196acb 100644 --- a/libavcodec/eval.c +++ b/libavcodec/eval.c @@ -369,7 +369,7 @@ static int verify_expr(AVExpr * e) { } } -AVExpr * ff_parse(const char *s, const char * const *const_name, +AVExpr *ff_parse_expr(const char *s, const char * const *const_name, double (**func1)(void *, double), const char **func1_name, double (**func2)(void *, double, double), const char **func2_name, const char **error){ @@ -416,7 +416,7 @@ double ff_parse_and_eval_expr(const char *s, const double *const_value, const ch double (**func1)(void *, double), const char **func1_name, double (**func2)(void *, double, double), const char **func2_name, void *opaque, const char **error){ - AVExpr * e = ff_parse(s, const_name, func1, func1_name, func2, func2_name, error); + AVExpr * e = ff_parse_expr(s, const_name, func1, func1_name, func2, func2_name, error); double d; if (!e) return NAN; d = ff_eval_expr(e, const_value, opaque); -- cgit v1.2.3