diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-04-12 19:21:19 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-04-12 19:21:19 +0000 |
commit | 82fdcd449ca267085b3b6191d8de43dd78bf4aac (patch) | |
tree | 5af82d2bee564bf023a93987b789939d4af6171e /libavcodec/eval.h | |
parent | 1235429c2792e879d50a06cc851f3065f1a481d5 (diff) | |
download | ffmpeg-82fdcd449ca267085b3b6191d8de43dd78bf4aac.tar.gz |
Change constness for func[12]_name parameters of ff_parse_expr() and
ff_parse_and_eval_expr().
Change attribute from "const char **" to "const char * const *".
The name arrays are not supposed to be changed by the function.
Originally committed as revision 22859 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eval.h')
-rw-r--r-- | libavcodec/eval.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/eval.h b/libavcodec/eval.h index 438835d022..86d808c37e 100644 --- a/libavcodec/eval.h +++ b/libavcodec/eval.h @@ -44,8 +44,8 @@ typedef struct AVExpr AVExpr; * @return the value of the expression */ double ff_parse_and_eval_expr(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), const char **func2_name, + double (**func1)(void *, double), const char * const *func1_name, + double (**func2)(void *, double, double), const char * const *func2_name, void *opaque, const char **error); /** @@ -62,8 +62,8 @@ double ff_parse_and_eval_expr(const char *s, const double *const_value, const ch * NULL if anything went wrong */ 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, + double (**func1)(void *, double), const char * const *func1_name, + double (**func2)(void *, double, double), const char * const *func2_name, const char **error); /** |