aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/opt.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-11 22:32:04 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-11 22:32:04 +0000
commita367be1e88152458cdd3b31eb9a0bd06c9eb881b (patch)
treeb607f651c9655804ab07a7cf936ca80d00f405b1 /libavcodec/opt.c
parent4565caf120b04884e5b13f4e452f280b8d10f3f6 (diff)
downloadffmpeg-a367be1e88152458cdd3b31eb9a0bd06c9eb881b.tar.gz
Rename ff_eval2() to ff_parse_and_eval_expr().
The new name better expresses what the function does. Originally committed as revision 22845 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/opt.c')
-rw-r--r--libavcodec/opt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/opt.c b/libavcodec/opt.c
index 04629b6a2f..e22ecf2880 100644
--- a/libavcodec/opt.c
+++ b/libavcodec/opt.c
@@ -156,7 +156,7 @@ int av_set_string3(void *obj, const char *name, const char *val, int alloc, cons
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)