Revision 1235429c libavcodec/eval.c

View differences:

libavcodec/eval.c
369 369
    }
370 370
}
371 371

  
372
AVExpr * ff_parse(const char *s, const char * const *const_name,
372
AVExpr *ff_parse_expr(const char *s, const char * const *const_name,
373 373
               double (**func1)(void *, double), const char **func1_name,
374 374
               double (**func2)(void *, double, double), const char **func2_name,
375 375
               const char **error){
......
416 416
               double (**func1)(void *, double), const char **func1_name,
417 417
               double (**func2)(void *, double, double), const char **func2_name,
418 418
               void *opaque, const char **error){
419
    AVExpr * e = ff_parse(s, const_name, func1, func1_name, func2, func2_name, error);
419
    AVExpr * e = ff_parse_expr(s, const_name, func1, func1_name, func2, func2_name, error);
420 420
    double d;
421 421
    if (!e) return NAN;
422 422
    d = ff_eval_expr(e, const_value, opaque);

Also available in: Unified diff