summaryrefslogtreecommitdiff
path: root/libavcodec/eval.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-03 23:25:35 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-03 23:25:35 +0000
commit20e4beaef73bb249c429a6af491c863fdff1df06 (patch)
treef5f73d4b88cc6fbc002212d4919fd4516a8f9a2e /libavcodec/eval.h
parent652a5bf69dfcc651c0f1e0d1ce30afc2d2253075 (diff)
const
Originally committed as revision 11840 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eval.h')
-rw-r--r--libavcodec/eval.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/eval.h b/libavcodec/eval.h
index 08c2c70743..143c8765c7 100644
--- a/libavcodec/eval.h
+++ b/libavcodec/eval.h
@@ -55,7 +55,7 @@ double ff_eval(char *s, double *const_value, const char **const_name,
double ff_eval2(char *s, double *const_value, const char **const_name,
double (**func1)(void *, double), const char **func1_name,
double (**func2)(void *, double, double), char **func2_name,
- void *opaque, char **error);
+ void *opaque, const char **error);
typedef struct ff_expr_s AVEvalExpr;
@@ -74,7 +74,7 @@ typedef struct ff_expr_s AVEvalExpr;
AVEvalExpr * ff_parse(char *s, const char **const_name,
double (**func1)(void *, double), const char **func1_name,
double (**func2)(void *, double, double), char **func2_name,
- char **error);
+ const char **error);
/**
* Evaluates a previously parsed expression.
* @param const_value a zero terminated array of values for the identifers from ff_parse const_name