summaryrefslogtreecommitdiff
path: root/libavcodec/eval.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-11 11:47:29 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-11 11:47:29 +0000
commit073f6d5b96648d00d9e7af376c558bc85d308748 (patch)
treeb143b69231100b85641d974a356eb072608987f4 /libavcodec/eval.h
parent5fccafdbc16560e2d62aa40003b7639f2bbc4b29 (diff)
Rename AVEvalExpr to AVExpr, as suggested by Michael.
The new name is shorter and less confusing. Originally committed as revision 22833 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eval.h')
-rw-r--r--libavcodec/eval.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/eval.h b/libavcodec/eval.h
index 0d2cd70249..6aec93f005 100644
--- a/libavcodec/eval.h
+++ b/libavcodec/eval.h
@@ -28,7 +28,7 @@
#ifndef AVCODEC_EVAL_H
#define AVCODEC_EVAL_H
-typedef struct ff_expr_s AVEvalExpr;
+typedef struct ff_expr_s AVExpr;
/**
* Parses and evaluates an expression.
@@ -58,10 +58,10 @@ double ff_eval2(const char *s, const double *const_value, const char * const *co
* @param func1_name NULL terminated array of zero terminated strings of func1 identifers
* @param func2_name NULL terminated array of zero terminated strings of func2 identifers
* @param error pointer to a char* which is set to an error message if something goes wrong
- * @return AVEvalExpr which must be freed with ff_eval_free by the user when it is not needed anymore
+ * @return AVExpr which must be freed with ff_eval_free by the user when it is not needed anymore
* NULL if anything went wrong
*/
-AVEvalExpr * ff_parse(const char *s, const char * const *const_name,
+AVExpr * ff_parse(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);
@@ -71,8 +71,8 @@ AVEvalExpr * ff_parse(const char *s, const char * const *const_name,
* @param opaque a pointer which will be passed to all functions from func1 and func2
* @return the value of the expression
*/
-double ff_parse_eval(AVEvalExpr * e, const double *const_value, void *opaque);
-void ff_eval_free(AVEvalExpr * e);
+double ff_parse_eval(AVExpr * e, const double *const_value, void *opaque);
+void ff_eval_free(AVExpr * e);
/**
* Parses the string in numstr and returns its value as a double. If