diff options
author | Anders Grönberg <galileo.m2@gmail.com> | 2008-12-14 15:24:50 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-12-14 15:24:50 +0300 |
commit | cac55c91969158bd07ffcef27753f4edc79fc8ef (patch) | |
tree | 175b8cd2c803651a0019af3ab5ecac91459ec02c /libavcodec/eval.h | |
parent | 70bbd0cee3fa9eae6195376742759ab32b330d9f (diff) |
Add a few const qualifiers in appropriate places.
patch by Anders Grönberg, galileo.m2 gmail com
Originally committed as revision 16120 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eval.h')
-rw-r--r-- | libavcodec/eval.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/eval.h b/libavcodec/eval.h index 0918fc9b7d..c450332d3e 100644 --- a/libavcodec/eval.h +++ b/libavcodec/eval.h @@ -42,9 +42,9 @@ * @param opaque a pointer which will be passed to all functions from func1 and func2 * @return the value of the expression */ -double ff_eval2(const char *s, double *const_value, const char **const_name, +double ff_eval2(const char *s, const double *const_value, const char * const *const_name, double (**func1)(void *, double), const char **func1_name, - double (**func2)(void *, double, double), char **func2_name, + double (**func2)(void *, double, double), const char **func2_name, void *opaque, const char **error); typedef struct ff_expr_s AVEvalExpr; @@ -61,9 +61,9 @@ typedef struct ff_expr_s AVEvalExpr; * @return AVEvalExpr 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_name, +AVEvalExpr * ff_parse(const char *s, const char * const *const_name, double (**func1)(void *, double), const char **func1_name, - double (**func2)(void *, double, double), char **func2_name, + double (**func2)(void *, double, double), const char **func2_name, const char **error); /** * Evaluates a previously parsed expression. @@ -71,7 +71,7 @@ AVEvalExpr * ff_parse(const char *s, const char **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, double *const_value, void *opaque); +double ff_parse_eval(AVEvalExpr * e, const double *const_value, void *opaque); void ff_eval_free(AVEvalExpr * e); #endif /* AVCODEC_EVAL_H */ |