summaryrefslogtreecommitdiff
path: root/libavcodec/ratecontrol.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-12 19:21:15 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-12 19:21:15 +0000
commit1235429c2792e879d50a06cc851f3065f1a481d5 (patch)
tree24583f9766dc0aa686e0aee69bb56af0f990143c /libavcodec/ratecontrol.c
parent6c71d2c1357018f7f68a8bde773306298ce72057 (diff)
Rename ff_parse() to ff_parse_expr().
The new name is more expressive and fits better in the overall naming scheme for the revisited eval API. Originally committed as revision 22858 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 35191b0ed7..d88cb0fb19 100644
--- a/libavcodec/ratecontrol.c
+++ b/libavcodec/ratecontrol.c
@@ -107,7 +107,7 @@ int ff_rate_control_init(MpegEncContext *s)
};
emms_c();
- rcc->rc_eq_eval = ff_parse(s->avctx->rc_eq ? s->avctx->rc_eq : "tex^qComp", const_names, func1, func1_names, NULL, NULL, &error);
+ rcc->rc_eq_eval = ff_parse_expr(s->avctx->rc_eq ? s->avctx->rc_eq : "tex^qComp", const_names, func1, func1_names, NULL, NULL, &error);
if (!rcc->rc_eq_eval) {
av_log(s->avctx, AV_LOG_ERROR, "Error parsing rc_eq \"%s\": %s\n", s->avctx->rc_eq, error? error : "");
return -1;