Revision 6881b8e5 libavcodec/eval.h

View differences:

libavcodec/eval.h
52 52
 * @param opaque a pointer which will be passed to all functions from func1 and func2
53 53
 * @return the value of the expression
54 54
 */
55
double ff_eval2(char *s, double *const_value, const char **const_name,
55
double ff_eval2(const char *s, double *const_value, const char **const_name,
56 56
               double (**func1)(void *, double), const char **func1_name,
57 57
               double (**func2)(void *, double, double), char **func2_name,
58 58
               void *opaque, const char **error);
......
71 71
 * @return AVEvalExpr which must be freed with ff_eval_free by the user when it is not needed anymore
72 72
 *         NULL if anything went wrong
73 73
 */
74
AVEvalExpr * ff_parse(char *s, const char **const_name,
74
AVEvalExpr * ff_parse(const char *s, const char **const_name,
75 75
               double (**func1)(void *, double), const char **func1_name,
76 76
               double (**func2)(void *, double, double), char **func2_name,
77 77
               const char **error);

Also available in: Unified diff