Revision 6881b8e5

View differences:

libavcodec/avcodec.h
1197 1197
     * - encoding: Set by user
1198 1198
     * - decoding: unused
1199 1199
     */
1200
    char *rc_eq;
1200
    const char *rc_eq;
1201 1201

  
1202 1202
    /**
1203 1203
     * maximum bitrate
libavcodec/eval.c
376 376
    }
377 377
}
378 378

  
379
AVEvalExpr * ff_parse(char *s, const char **const_name,
379
AVEvalExpr * ff_parse(const char *s, const char **const_name,
380 380
               double (**func1)(void *, double), const char **func1_name,
381 381
               double (**func2)(void *, double, double), char **func2_name,
382 382
               const char **error){
......
413 413
    return eval_expr(&p, e);
414 414
}
415 415

  
416
double ff_eval2(char *s, double *const_value, const char **const_name,
416
double ff_eval2(const char *s, double *const_value, const char **const_name,
417 417
               double (**func1)(void *, double), const char **func1_name,
418 418
               double (**func2)(void *, double, double), char **func2_name,
419 419
               void *opaque, const char **error){
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