Mercurial > libavcodec.hg
diff opt.c @ 11605:414a7cdaa54d libavcodec
Rename ff_eval2() to ff_parse_and_eval_expr().
The new name better expresses what the function does.
author | stefano |
---|---|
date | Sun, 11 Apr 2010 22:32:04 +0000 |
parents | 5ab861519e79 |
children | 7dd2a45249a9 |
line wrap: on
line diff
--- a/opt.c Sun Apr 11 22:32:01 2010 +0000 +++ b/opt.c Sun Apr 11 22:32:04 2010 +0000 @@ -156,7 +156,7 @@ buf[i]= val[i]; buf[i]=0; - d = ff_eval2(buf, const_values, const_names, NULL, NULL, NULL, NULL, NULL, &error); + d = ff_parse_and_eval_expr(buf, const_values, const_names, NULL, NULL, NULL, NULL, NULL, &error); if(isnan(d)) { const AVOption *o_named= av_find_opt(obj, buf, o->unit, 0, 0); if(o_named && o_named->type == FF_OPT_TYPE_CONST)