aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ratecontrol.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-11 22:32:01 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-11 22:32:01 +0000
commit4565caf120b04884e5b13f4e452f280b8d10f3f6 (patch)
tree72665cc4524ee265f384e1ff29a8cc798a267fac /libavcodec/ratecontrol.c
parent9a2cb05ff9281339c37feb8488e5d24d794672fb (diff)
downloadffmpeg-4565caf120b04884e5b13f4e452f280b8d10f3f6.tar.gz
Rename ff_parse_eval() to ff_eval_expr().
The new name expresses better what the function does. Originally committed as revision 22844 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ratecontrol.c')
-rw-r--r--libavcodec/ratecontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c
index f1f9c060a5..35191b0ed7 100644
--- a/libavcodec/ratecontrol.c
+++ b/libavcodec/ratecontrol.c
@@ -339,7 +339,7 @@ static double get_qscale(MpegEncContext *s, RateControlEntry *rce, double rate_f
0
};
- bits= ff_parse_eval(rcc->rc_eq_eval, const_values, rce);
+ bits= ff_eval_expr(rcc->rc_eq_eval, const_values, rce);
if (isnan(bits)) {
av_log(s->avctx, AV_LOG_ERROR, "Error evaluating rc_eq \"%s\"\n", s->avctx->rc_eq);
return -1;